KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've seen in a few iPhone examples that attributes have used an underscore _ in front of the variable. Does anyone know what this means? Or how it works? An interface file I'm using looks like: @interface MissionCell : UITableViewCell { Mission *_mission; UILabel *_missionName; } @property (nonatomic, retain) UILabel *missionName; - (Mission *)mission; I'm not sure exactly what the above does but when I try to set the mission name like: aMission.missionName = missionName; I get the error: request for member 'missionName' in something not a structure or union
Tags (comma-separated)
Save Edits
Cancel