开发者

Xcode [ESC] fail to auto complete the property in .m file

开发者 https://www.devze.com 2023-02-02 05:38 出处:网络
I have declared a property in the header file, for example @interface myClass { NSArray* data; } @property (nonatomic, retai开发者_StackOverflow中文版n) NSArray* data;

I have declared a property in the header file, for example

@interface myClass {
    NSArray* data;
}
@property (nonatomic, retai开发者_StackOverflow中文版n) NSArray* data;

when I want to synthesize it in the .m file, I press 'ESC' and expect the property 'data' will appear in the list but it doesn't ?

@implementation
@synthesize da[ESC]

It prompts 'No completions found'

any help? many thanks ~


It sometimes takes a little while for Xcode to update its autocomplete database. Unlike the Visual Studio IDE, it's not done instantly with any code change.

0

精彩评论

暂无评论...
验证码 换一张
取 消