I'm trying to declare some instance variables for a custom button class in Objective-C (for iOS):
@interface PatientIDButton : UIButton {
NSUInteger patientID;
NSString * patientName;
}
@end
However, these are now private and I need them accessible to other classes. I guess I could make accessor functions for them, but how would I make the variables themselves public?