why using underscore after asterisk in objective-c
@interface TestAppDelegate : NSObject <UIApplicationDelegate>
{
LeftViewController *_leftViewController;
}
@property (nonatomic, retain) IBOutlet LeftViewController *leftViewController;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
just to give another name to that variable. So that in the implementation file you can use
or
but, TBH, I never declare these variables twice. If it’s a property – let it be a property and don’t declare it in @interface part. But that’s just my opinion