Hi..
I am noob in iPhone development..I have a query hope I you people will solve..
In every interface file(*.h file) we declare a property for every instance variable like this...
#import <UIKit/UIKit.h>
@interface Fruit : NSObject {
NSString *name;
NSString *description;
}
@property(nonatomic, copy) NSString *name;
@property(nonatomic, copy) NSString *description;
- (id)initWithName:(NSString*)n description:(NSString *)desc;
@end
In this, how do we decide what will be parameters for the property of a variable????
thanks in advance..