Changeset 551 for apps/iphone
- Timestamp:
- 11/04/09 17:41:18 (4 years ago)
- Location:
- apps/iphone/superbook/trunk
- Files:
-
- 6 modified
-
Classes/DotTelABDelegate.m (modified) (1 diff)
-
Classes/FriendsData.m (modified) (1 diff)
-
Classes/FriendsMapViewController.m (modified) (1 diff)
-
Classes/MyCLController.m (modified) (2 diffs)
-
DotTel_SDK/Classes/NetworkUtility.m (modified) (1 diff)
-
LocateThem.xcodeproj/project.pbxproj (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
apps/iphone/superbook/trunk/Classes/DotTelABDelegate.m
r546 r551 101 101 if (saveExistingButtonLabel != nil) { 102 102 saveToExistingButtonIndex = [actionSheet addButtonWithTitle:saveExistingButtonLabel]; 103 } else { 104 saveToExistingButtonIndex = UINT_MAX; // disable 103 105 } 104 106 saveToNewButtonIndex = [actionSheet addButtonWithTitle:NSLocalizedString(@"CreateNewContact", @"Create new contact")]; -
apps/iphone/superbook/trunk/Classes/FriendsData.m
r546 r551 458 458 @synchronized(self) { 459 459 if (sharedFriendsData == nil) { 460 [[ self alloc] init]; // assignment not done here460 [[[self alloc] init] autorelease]; // autorelease (does nothing) to avoid clang warning 461 461 } 462 462 } -
apps/iphone/superbook/trunk/Classes/FriendsMapViewController.m
r546 r551 305 305 @synchronized(self) { 306 306 if (sharedFMVC == nil) { 307 [[self alloc] initWithNibName:@"FMapView" bundle:[NSBundle mainBundle]]; 307 // autorelease (does nothing) to avoid clang warning 308 [[[self alloc] initWithNibName:@"FMapView" bundle:[NSBundle mainBundle]] autorelease]; 308 309 } 309 310 // Assign localization -
apps/iphone/superbook/trunk/Classes/MyCLController.m
r472 r551 19 19 self = [super init]; 20 20 if (self != nil) { 21 self.locationManager = [[ CLLocationManager alloc] init];21 self.locationManager = [[[CLLocationManager alloc] init] autorelease]; 22 22 self.locationManager.delegate = self; // Tells the location manager to send updates to this object 23 self.myCurrentLoc = [[ CLLocation alloc] initWithLatitude:0 longitude:0];23 self.myCurrentLoc = [[[CLLocation alloc] initWithLatitude:0 longitude:0] autorelease]; 24 24 if (! resolver) { 25 25 resolver = [[[DnsResolver alloc] init] retain]; … … 198 198 @synchronized(self) { 199 199 if (sharedCLDelegate == nil) { 200 [[ self alloc] init]; // assignment not done here200 [[[self alloc] init] autorelease]; // autorelease (does nothing) to avoid clang warning 201 201 } 202 202 } -
apps/iphone/superbook/trunk/DotTel_SDK/Classes/NetworkUtility.m
r363 r551 98 98 @synchronized(self) { 99 99 if (sharedNetworkUtility == nil) { 100 [[ self alloc] init]; // assignment not done here100 [[[self alloc] init] autorelease]; // autorelease (does nothing) to avoid clang warning 101 101 } 102 102 } -
apps/iphone/superbook/trunk/LocateThem.xcodeproj/project.pbxproj
r548 r551 623 623 CODE_SIGN_IDENTITY = "iPhone Distribution: Henri Asseily"; 624 624 GCC_C_LANGUAGE_STANDARD = c99; 625 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 625 626 GCC_WARN_ABOUT_RETURN_TYPE = YES; 626 627 GCC_WARN_UNUSED_VARIABLE = YES; … … 657 658 CODE_SIGN_IDENTITY = "iPhone Distribution: Henri Asseily"; 658 659 GCC_C_LANGUAGE_STANDARD = c99; 660 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 659 661 GCC_WARN_ABOUT_RETURN_TYPE = YES; 660 662 GCC_WARN_UNUSED_VARIABLE = YES; … … 691 693 CODE_SIGN_IDENTITY = "iPhone Developer: Henri Asseily"; 692 694 GCC_C_LANGUAGE_STANDARD = c99; 695 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 693 696 GCC_WARN_ABOUT_RETURN_TYPE = YES; 694 697 GCC_WARN_UNUSED_VARIABLE = YES; … … 706 709 CODE_SIGN_IDENTITY = "iPhone Developer: Henri Asseily"; 707 710 GCC_C_LANGUAGE_STANDARD = c99; 711 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 708 712 GCC_WARN_ABOUT_RETURN_TYPE = YES; 709 713 GCC_WARN_UNUSED_VARIABLE = YES;








