What is this warning/error? (Newb warning)

Discussion in 'iOS Programming' started by ryans79, May 27, 2009.

  1. ryans79 macrumors regular

    Joined:
    Apr 12, 2009
    #1
    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:
    [​IMG]

    °°
     
  2. SilentPanda Moderator emeritus

    SilentPanda

    Joined:
    Oct 8, 2002
    Location:
    The Bamboo Forest
    #2
    You linked to a thumbnail. It's very very tiny! :)
     
  3. BlackWolf macrumors regular

    Joined:
    Apr 9, 2009
    #3
    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!
     
  4. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    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.
     
  5. ryans79 thread starter macrumors regular

    Joined:
    Apr 12, 2009
    #5
    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!
     
  6. mccannmarc macrumors 6502

    mccannmarc

    Joined:
    Aug 15, 2008
    Location:
    Manchester, UK
    #6
    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 + /
     
  7. SilentPanda Moderator emeritus

    SilentPanda

    Joined:
    Oct 8, 2002
    Location:
    The Bamboo Forest
    #7
    Ah I don't browse with images turned on so it just shows me a link to the thumbnail only... :(
     
  8. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #8
  9. ryans79 thread starter macrumors regular

    Joined:
    Apr 12, 2009
    #9


    Thanks for the links, i'll check them out.

    I'm learning xCode only via the examples and explanations in the book "Beginning iPhone Development" (I'm in chapter 5 now)

    Cheers!
    °°
     

Share This Page