Permalink
Browse files

Revert "Added loading HUD"

This reverts commit c4767dc.
  • Loading branch information...
1 parent c4767dc commit 4d19539e0eedf52e1b4707a38c670681db3f4427 @tonymillion tonymillion committed Jun 26, 2011
Showing with 4 additions and 11 deletions.
  1. +1 −3 ABGroup.m
  2. +3 −8 ABRecord.m
View
4 ABGroup.m
@@ -60,9 +60,7 @@ - (id) init
- (ABSource *) source
{
ABRecordRef source = ABGroupCopySource( _ref );
- ABSource *sourceObj = [[[ABSource alloc] initWithABRef: source] autorelease];
- CFRelease(source);
- return ( sourceObj );
+ return ( [[[ABSource alloc] initWithABRef: source] autorelease] );
}
- (NSArray *) allMembers
View
11 ABRecord.m
@@ -116,9 +116,7 @@ - (id) valueForProperty: (ABPropertyID) property
if ( wrapperClass != Nil )
result = [[wrapperClass alloc] initWithABRef: value];
else
- result = [(id) value retain];
-
- CFRelease(value);
+ result = (id) value;
return ( [result autorelease] );
}
@@ -137,11 +135,8 @@ - (BOOL) removeValueForProperty: (ABPropertyID) property error: (NSError **) err
- (NSString *) compositeName
{
- NSString * result = [(NSString *) ABRecordCopyCompositeName( _ref ) autorelease];
- if (result == nil) {
- result = @"";
- }
- return ( result );
+ NSString * result = (NSString *) ABRecordCopyCompositeName( _ref );
+ return ( [result autorelease] );
}
@end

0 comments on commit 4d19539

Please sign in to comment.