Rainer Schmid
Rainer Schmid

Reputation: 1

How can I get warnings in my Objective-C code on an empty line?

as I couldn't get rid of some warnings, although my code seemed to be ok, I copied Joe Conways (Conway/Hillegass: Objective-C Programming, 3rd edition) code into my project and got some funny warnings at empty lines. The code works fine (as it did before copying). Any suggestions?

xcode error

Upvotes: 0

Views: 110

Answers (2)

Rad'Val
Rad'Val

Reputation: 9251

Try to "Project->Clean" and then rebuild. Should get rid of them.

Upvotes: 0

MByD
MByD

Reputation: 137402

It's nothing special, probably XCode didn't update the line numbers of the warnings. Re-build it and it should be fine.

Upvotes: 2

Related Questions