Tab Bar Trouble

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

  1. waffles123 macrumors regular

    Joined:
    Feb 23, 2009
    #1
    Hi, I'm working in this book [​IMG] in Chapter 7 on Tab Bars.

    When I click on the fourth button in the Tab bar (the Dependent Tab Bar Button) the simulator crashes, and I get this error message:

    Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray sortedArraryUsingSelector:]: unrecognized selector sent to instance 0x5d1cb0'


    I also get this warning message which I think is related to the error message:

    [​IMG]

    Thanks.
     
  2. BlackWolf macrumors regular

    Joined:
    Apr 9, 2009
    #2
    simple typo.
    you wrote
    sortedArraryUsingSelector:
    should be
    sortedArrayUsingSelector:
     
  3. waffles123 thread starter macrumors regular

    Joined:
    Feb 23, 2009
    #3
    ROFL thank you so much. You must be good at baseball, because you have a good eye. LOL :p
     
  4. uberamd macrumors 68030

    uberamd

    Joined:
    May 26, 2009
    Location:
    Minnesota
    #4
    Oh my, did you just say that? lol
     

Share This Page