2013-08-01 39 views

回答

1

接口&實施

@[email protected] 
@[email protected] 
@class 

實例變量能見度

@public 
@package 
@protected 
@private 

屬性

@property 
@synthesize 
@dynamic 

協議

@protocol 
@required 
@optional 

異常HANDL荷蘭國際集團

@try 
@catch 
@finally 
@throw 

對象常量

@"" 
@42, @3.14, @YES, @'Z' 
@[] 
@{} 
@() 

Objective-C的字面

@selector() 
@protocol() 

Ç字面

@encode() 
@defs() 

優化

@autoreleasepool{} 
@synchronized{} 

兼容性

@compatibility_alias 

從下面的鏈接,其具有指令的與描述的窮盡列表摘自:NSHipster - @ Compiler Directives

+2

這些都不是預處理器指令。 – yiding