Skip to content

Commit

Permalink
[css] remove shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Metral committed Feb 22, 2013
1 parent 5549c3f commit 7823a4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion examples/css/CSSDemo/RootViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ - (void)loadView {
],
[[UILabel alloc] init], @".rightMiddleLabel", NILocalizedStringWithDefault(@"RightLabel", @"Right Middle Label"),
[[UILabel alloc] init], @".bottomLabel", NILocalizedStringWithDefault(@"BottomLabel", @"Bottom Left Label"),
_button = [UIButton buttonWithType:UIButtonTypeCustom], NI_INVOKE(buttonPress), NILocalizedStringWithDefault(@"TestButton", @"Test Button"), @"#TestButton",
_button = [UIButton buttonWithType:UIButtonTypeCustom], NIInvocationWithInstanceTarget(self,@selector(buttonPress)), NILocalizedStringWithDefault(@"TestButton", @"Test Button"), @"#TestButton",
[[NITextField alloc] init], @".textField"
]
inDOM:_dom];
Expand Down
5 changes: 0 additions & 5 deletions src/core/src/NIInvocationMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ extern NSInvocation* NIInvocationWithClassTarget(Class targetClass, SEL selector
};
#endif

/**
* Compact version of instance/target invoke for self.
*/
#define NI_INVOKE(sel) NIInvocationWithInstanceTarget(self, @selector(sel))

///////////////////////////////////////////////////////////////////////////////////////////////////
/**@}*/// End of Foundation Methods ///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////

0 comments on commit 7823a4c

Please sign in to comment.