Objective-C&&keyword

标准关键字

1
2
3
4
5
6
7
8
break const continue default return
signed unsigned char short int float double
struct union
if else for while do goto switch case goto
register static volatile auto extern
sizeof
typedef
void

拓展关键字

1
asm typeof inline

Objective-C

1
2
3
4
5
6
7
8
9
10
self super
@interface @protocol @implementation @class @import @required @optional @end
@public @protected @private @package
@property
@try @throw @catch @finally
@synthesize @dynamic
@selector
@defs
@encode
nonatomic atomic strong weak (retain realse)

swift

1
2