Created
March 4, 2012 13:17
-
-
Save flandy84/1972951 to your computer and use it in GitHub Desktop.
optimized Objective-C Implementation File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//.m File optimized Objective-C Class Implementation | |
@interface SimpleHttpRequest()<NSURLConnectionDelegate>{ //Private interface | |
NSObject* _iVarABC; | |
NSObject* _someThing; | |
__unsafe_unretained NSObject* _anyThing; | |
NSURLRequest* _urlrequest; | |
__weak id _delegate; | |
SEL _didFailSelector; | |
} | |
@property(nonatomic, copy, readwrite) NSURLRequest* urlrequest; //private redefinition for internal write-access | |
@property(nonatomic, strong) NSObject* someThing; //strong or retain | |
@property(nonatomic, unsafe_unretained) NSObject* anyThing; //unsafe_unretained or assign | |
@property(nonatomic, weak) IBOutlet UIButton *deleteButton; | |
-(void)showActivityIndicator; | |
-(void)hideActivityIndicator; | |
@end | |
@implementation SimpleHttpRequest{ | |
NSObject* _iVarXYZ; | |
} | |
@synthesize delegate = _delegate; | |
@synthesize urlrequest = _urlrequest; | |
@synthesize didFailSelector = _didFailSelector; | |
@synthesize someThing = _someThing; | |
@synthesize anyThing= _anyThing; | |
@synthesize deleteButton; | |
-(void)startAsynchronous{ | |
... | |
} | |
... | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment