Re: NIB doesn't link to objects
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