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.
精彩评论