Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ryans79

macrumors regular
Original poster
Apr 12, 2009
226
0
Hey,

I'm just following the book example but still i am getting a warning that i dont understand, can someone tell me how to "fix" this please?

Since a picture is worth a thousand words ;)
here's the screenshot:


°°
 
it's
initWithTitle
not
initWithtitle

it's really a clear error message. did you understand the warning? if you didn't, you should go back to learn the basics of objective-c!
 
I'm just following the book example but still i am getting a warning that i dont understand, can someone tell me how to "fix" this please?
Time to start taking advantage of Code Sense. It'll complete things like this for you and then you don't have to worry about typos as much.
 
Hey guys,
Thanks for replying!

@SilentPanda, sorry, you had to click the thumbnail to see the bigger picture.

@BlackWolf, I kind of understood the error, but for some reason, didnt totally "get it", thanks for pointing out the little typo.

@dejo, whats "Code Sense"?

Cheers!


Edit: it works!
MUHAHAHAHAAHAHA!
 
Time to start taking advantage of Code Sense. It'll complete things like this for you and then you don't have to worry about typos as much.

Just to add to that, when you use autocomplete and have methods that take multiple parameters you can easily switch between them by pressing ctrl + /
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.