• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NIB doesn't link to objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NIB doesn't link to objects


  • Subject: Re: NIB doesn't link to objects
  • From: Scott Ribe <email@hidden>
  • Date: Sat, 13 Nov 2010 17:49:59 -0700

On Nov 13, 2010, at 5:06 PM, Charlie Dickman wrote:

> I THEN SET A BREAKPOINT ON  "- (void) awakeFromNib" and executed under the debugger (GDB). The debugger stopped on the breakpoint "- (void) awakeFromNib" and I inspected the object values. THEY WERE ALL nil (spelled correctly).

That makes it seem like you didn't hook them up properly in the nib. But your first post says you did. So are you sure you did? File's owner class type set properly? Outlets tileButton1 etc in the file's owner linked to the buttons?

> AND, IF I LET THE PROGRAM CONTINUE TO EXECUTE AND I CLICK ON ONE OF THE BUTTONS I GET CONTROL (AGAIN WITH A BREAKPOINT SET IN THE DEBUGGER AND WATCHING THE EXECUTION STOP AT IT) at the IBAction (spelled correctly) assigned to it in the very same NIB.

Well, that's not directly related. It does at least indicate the class and file's owner are what you think they are. But connecting the button's target outlet to the file's owner is not the same as connecting the file's owner's button outlet to the button...


--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NIB doesn't link to objects (From: Charlie Dickman <email@hidden>)
 >Re: NIB doesn't link to objects (From: Andy Lee <email@hidden>)
 >Re: NIB doesn't link to objects (From: Charlie Dickman <email@hidden>)
 >Re: NIB doesn't link to objects (From: Christiaan Hofman <email@hidden>)
 >Re: NIB doesn't link to objects (From: Charlie Dickman <email@hidden>)
 >Re: NIB doesn't link to objects (From: Christiaan Hofman <email@hidden>)
 >Re: NIB doesn't link to objects (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Re: NIB doesn't link to objects
  • Next by Date: Re: NIB doesn't link to objects
  • Previous by thread: Re: NIB doesn't link to objects
  • Next by thread: Re: NIB doesn't link to objects
  • Index(es):
    • Date
    • Thread