开发者

xcode - warning there's no getter/setter for property not even mentioned in the code!

I got the warning :

property 'textField' requires method '-textField' to be defined - use @synthesize, @dynamic or provide a method implementation.

Now, there is no such property defined in my project! More bizarre, if I just click save in Interface builder and build again, the build is suc开发者_运维技巧cessful - though, right on the line with '@end' the warning appears. Also weird: if I begin to write some code ..and then delete it just the way it was before writing it (maybe not code..anything) and then build&go the warning with the textField appears again. Could be a bug of sdk? What could be happening?


Go into interface builder, and click File > Read all class files. Save and quit IB. Go back into Xcode and click Build > Build & Clean. Build your project.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜