/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
------ClassName.h------------------- id delegate; } @property(nonatomic, assign) id delegate; @end ------ClassName.m------------------- @synthesize delegate; if ([delegate respondsToSelector:@selector(subscriptionSelected:)]) [delegate performSelector:@selector(subscriptionSelected:) withObject:(id)indexPath.row ];