Posted By

streamt on 03/08/11


Tagged

back selector Delegate call


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

terababy
Tintenklecks
cnathan


Selector. Call Back.


 / Published in: Objective C
 

  1. ------ClassName.h-------------------
  2.  
  3. @interface ClassName : NSObject {
  4. id delegate;
  5. }
  6.  
  7. @property(nonatomic, assign) id delegate;
  8.  
  9.  
  10. @end
  11.  
  12. ------ClassName.m-------------------
  13.  
  14. @synthesize delegate;
  15.  
  16. if ([delegate respondsToSelector:@selector(subscriptionSelected:)])
  17. [delegate performSelector:@selector(subscriptionSelected:) withObject:(id)indexPath.row ];

Report this snippet  

You need to login to post a comment.