Debug issue

Discussion in 'iOS Programming' started by nashyo, Jan 23, 2012.

  1. nashyo macrumors 6502

    nashyo

    Joined:
    Oct 1, 2010
    Location:
    Bristol
    #1
    I ctrl dragged the nav bar item from a view controller in storyboard, to the view controller header file and named it IBOutlet 'navItem'.

    After a while, I deleted this. navItem no longer exists as a property in my header file (or implementation file).

    Yet i'm getting the following error message whenever I attempt to segue to this view controller

    2012-01-23 19:26:42.173 Opthalmology Quiz[8363:707] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<AnswerDViewController 0x199350> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key navItem.'

    How do I fix this?
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    Wirelessly posted (Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3)

    Delete the connection.
     
  3. nashyo thread starter macrumors 6502

    nashyo

    Joined:
    Oct 1, 2010
    Location:
    Bristol
    #3
    I love you
     

Share This Page