I'm not familiar with the program language which has both property and instance variable.
So I don't know good ways to use property and instance variable.
Now I use only properties in my Objective-C code and I don't use any instance variables.
Do I need to use instance variable?
Or using only property is the best practice for Objective-C?
@interface ViewController : UIViewController
{
// instance variable
@public
int a;
}
// property
@property(nonatomic, strong) NSString *b;
@end