I'm looking at a .h file for an Objective-C class and I see multiple interface declarations in it and I am unsure as to what the differences are and what they mean.
First I see
@interface TAModel : NSObject
Which I recognize. TAModel is the class and NSObject is it's super class. What I'm confused about is further down I see another interface declaration:
@interface TAModel (Protected)
Also inside another .m file (unrelated to the first two) I have seen:
@interface TAWorker (Private)
I was wondering what the second two mean, what they are doing. As far as I know with objective-c there is no true protected visibility between classes.