I want to deffine a bool variable and set default value for it. I can do this
First
@implementation ViewController1
BOOL var1 = false;
Second
And I can add it in ViewController1.h file
@property (nonatomic, assign) BOOL var1
Is it possible to set default value in second way
What is difference between these two?