This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
@interface Person : NSObject {
|
||||
@public
|
||||
NSString *name;
|
||||
@private
|
||||
int age;
|
||||
}
|
||||
|
||||
@property(copy) NSString *name;
|
||||
@property(readonly) int age;
|
||||
|
||||
-(id)initWithAge:(int)age;
|
||||
@end
|
||||
|
||||
NSArray *arrayLiteral = @[@"abc", @1];
|
||||
NSDictionary *dictLiteral = @{
|
||||
@"hello": @"world",
|
||||
@"goodbye": @"cruel world"
|
||||
};
|
||||
Reference in New Issue
Block a user