0
我開發一個好辦法,但不知何故,我得到的錯誤:使用未聲明的標識符的THEOS
使用「_test」即使在屬性已設置錯誤未聲明的標識符的。
@property (nonatomic, retain) NSArray *test;
有誰知道如何解決?
謝謝!
我開發一個好辦法,但不知何故,我得到的錯誤:使用未聲明的標識符的THEOS
使用「_test」即使在屬性已設置錯誤未聲明的標識符的。
@property (nonatomic, retain) NSArray *test;
有誰知道如何解決?
謝謝!
嘗試
在your.h
@property (strong, nonatomic) NSArray *test;
在your.m
@implementation Viewcontroller
@synthesize test;
和更多的信息檢查這個答案Error: Use of undeclared identifier '_testArray'.
u能分享其代碼? –
這是從這個代碼 - > http://stackoverflow.com/questions/19976470/how-to-add-custom-menu-item-to-uitextview-menu-which-is-a-link-to-the- wikipedia – user6632515
在您遇到此錯誤的位置添加該代碼。 – KKRocks