Reputation: 367
I've been trying to find a way to set the delegates on my custom classes as Outlets so I can connect them via IB just like one does with an UIKit Class but I haven't been able to do this, is this even possible?
Upvotes: 0
Views: 39
Reputation: 69469
Yes you will need to the IBOutlet
keyword to the delegate property.
Like:
@property (nonatomic, assign) IBOutlet id <YourDelegateClass> delegate;
Upvotes: 3