curiouswebster
asked on
Why do some classes use "@class" but others don't?
Here is an example of one that does:
@class AddRoleTVC;
@protocol AddRoleTVCDelegate <NSObject>
- (void)theSaveButtonOnTheAd dRoleTVCWa sTapped:(A ddRoleTVC *)controller;
@end
@interface AddRoleTVC : UITableViewController
====
but other objects DO NOT include @class
Please explain the difference.
Thanks.
@class AddRoleTVC;
@protocol AddRoleTVCDelegate <NSObject>
- (void)theSaveButtonOnTheAd
@end
@interface AddRoleTVC : UITableViewController
====
but other objects DO NOT include @class
Please explain the difference.
Thanks.
What language?
ASKER
Sorry. Objective-C.
Please add that to your topic list. Probably get more responses. I personally don't know Objective-C.
ASKER
I don't think I ever used a topic list. I added it to the Topic Areas I find closest to this environment, Mac OS, iOS, Apple Programming. But if I can learn to make my posts more searchable, then great.
Where would I add Objective-C?
There is no Objective-C TA.
Where would I add Objective-C?
There is no Objective-C TA.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.