2013-06-21 89 views
1

(?與否)預警UTextAlignmentLeft自2.1,我得到這樣的警告僞造與AppCode 2.1

enter image description here

指的這種構造函數方法時:

enter image description here

我疲倦的眼睛告訴我,我不應該得到這個警告,但...唉,在objc仍然很新。我在這裏錯過了什麼?

回答

1

請在AppCode跟蹤器中創建問題並提供詳細信息 - 「textMenuItemWithText」方法的聲明和您的SDK版本。我們無法在這種情況下重現它:

- (void)bar:(UITextAlignment)alignment { 
} 

-(void)foo { 
    [self bar:UITextAlignmentLeft]; 
}