Created
April 15, 2013 06:57
-
-
Save tempos21ios/5386226 to your computer and use it in GitHub Desktop.
Protocolo delegate (ARC)
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
@protocol MyClassDelegate <NSObject> | |
//(...) | |
@optional | |
//(...) | |
@end | |
@interface MyClass : NSObject | |
@property (nonatomic, weak) id <MyClassDelegate> delegate; | |
// (...) | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment