Ios Xcode 8.3.2自动完成未在特定项目的.m文件上运行
首先:Xcode自动完成在我的另一个项目或新创建的项目上工作 在过去的4-5天里,我只在我的一个具体项目中遇到过这个问题。Xcode自动完成并不是对所有my.m(实现)文件都有效。此外,它还以黑色显示除“self”、“implementaion”和“@property”关键字外的所有文本的颜色都正确。我试过很多东西,但什么也找不到 下面是一些代码:-Ios Xcode 8.3.2自动完成未在特定项目的.m文件上运行,ios,xcode,autocomplete,ide,xcode8,Ios,Xcode,Autocomplete,Ide,Xcode8,首先:Xcode自动完成在我的另一个项目或新创建的项目上工作 在过去的4-5天里,我只在我的一个具体项目中遇到过这个问题。Xcode自动完成并不是对所有my.m(实现)文件都有效。此外,它还以黑色显示除“self”、“implementaion”和“@property”关键字外的所有文本的颜色都正确。我试过很多东西,但什么也找不到 下面是一些代码:- self.myBackgroundView = [[UIView alloc] init]; self.myBackgroundView.laye
self.myBackgroundView = [[UIView alloc] init];
self.myBackgroundView.layer.cornerRadius = 4.0;
self.layer.cornerRadius = 4.0;
[self addSubview:self.myBackgroundView];
self.myPriceLabel = [[UILabel alloc] init];
self.myPriceLabel.textColor = [UIColor white];
self.myPriceLabel.font =[MyFiles defaultFontWithSize:12.0];
[self addSubview:self.myPriceLabel];
self.myDiscountLabel = [[UILabel alloc] init];
self.myDiscountLabel.font = [MyFiles defaultFontWithSize:12.0];
self.myDiscountLabel.textColor = [UIColor black];
[self addSubview:self.discountLabel];
共享一些代码。@我有共享代码。但我不明白这和这个问题有什么关系。