Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed assign & retain with weak and copy. enabled ARC.

  • Loading branch information...
commit 1df9711e2d2be6b227d1e54101a13daff2451794 1 parent b158e1a
@davidbitton davidbitton authored
View
2  sample/FaceBookTest_OSX/FaceBookTest/FBTAppDelegate.m
@@ -22,7 +22,7 @@ @implementation FBTAppDelegate
- (void)dealloc
{
- [super dealloc];
+
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
View
4 sample/FaceBookTest_OSX/FaceBookTest/FBTMainViewController.h
@@ -11,9 +11,9 @@
@interface FBTMainViewController : NSViewController <FBRequestDelegate, FBDialogDelegate, FBSessionDelegate>
-@property (retain) NSArray *permissions;
+@property (copy) NSArray *permissions;
-@property (assign) IBOutlet NSButton *loginButton;
+@property (weak) IBOutlet NSButton *loginButton;
- (IBAction)toggleState:(id)sender;
View
4 sample/FaceBookTest_OSX/FaceBookTest_OSX.xcodeproj/project.pbxproj
@@ -265,6 +265,8 @@
F71642B4150EEA78003376EF /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_OBJCPP_ARC_ABI = NO;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "FaceBookTest/FaceBookTest-Prefix.pch";
@@ -283,6 +285,8 @@
F71642B5150EEA78003376EF /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_OBJCPP_ARC_ABI = NO;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "FaceBookTest/FaceBookTest-Prefix.pch";
Please sign in to comment.
Something went wrong with that request. Please try again.