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
Variables set as: | |
name expression default value | |
--------------------------------- | |
class CLASS | |
class2 decapitalize(class) | |
--------------------------------- | |
@class $class$; | |
@protocol $class$Delegate <NSObject> | |
-(void)$class2$DidSave:($class$*) sender; | |
-(void)$class2$DidCancel:($class$*) sender; | |
$end$ | |
@end | |
--------------------------------- | |
Output: | |
Type in FooBarViewController. | |
@class FooBarViewController; | |
@protocol FooBarViewControllerDelegate <NSObject> | |
-(void)fooBarViewControllerDidSave:(FooBarViewController*) sender; | |
-(void)fooBarViewControllerDidCancel:(FooBarViewController*) sender; | |
@end |
No comments:
Post a Comment