Skip to content

Commit

Permalink
Revert "Added loading HUD"
Browse files Browse the repository at this point in the history
This reverts commit c4767dc.
  • Loading branch information
tonymillion committed Jun 26, 2011
1 parent c4767dc commit 4d19539
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 1 addition & 3 deletions ABGroup.m
Expand Up @@ -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
Expand Down
11 changes: 3 additions & 8 deletions ABRecord.m
Expand Up @@ -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] );
}
Expand All @@ -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.