Difference between id<protocol> and NSObject<protocol>

Viewed 1985

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?

1 Answers
Related