In Objective-C, id<protocol> or NSObject<protocol> are frequently used for delegate declaration.
What are the main differences between id and NSObject? When do you want to use one versus the other?
In Objective-C, id<protocol> or NSObject<protocol> are frequently used for delegate declaration.
What are the main differences between id and NSObject? When do you want to use one versus the other?