Re: Connections not made with new IB
Re: Connections not made with new IB
- Subject: Re: Connections not made with new IB
- From: Jon Hess <email@hidden>
- Date: Sat, 27 Oct 2007 11:54:03 -0700
Hey Thomas -
Does anything appear in the Xcode log when you load the nib? Is an
instance of your file's owner class indeed the object that is loading
the nib? I would expect the value to at least be nil if the connection
wasn't being set. All instance variables are nil after allocation, and
if it says 'invalid' that suggests that it was either written then
overwritten or written and then the original object was released and
freed. Perhaps a little code sample and nib would make the problem
obvious.
Hope those pointers help -
Jon Hess
On Oct 27, 2007, at 7:09 AM, Thomas Davie wrote:
Hi list,
I'm having some problems with the new IB. I have created a
connection from my files owner, which has the correct class set, to
a custom view. Looking at the inspector palettes confirms that the
connection has indeed been created. I've also created one in the
opposite direction, which the inspector similarly confirms is there.
However, when I run the program, and enter the debugger in
awakeFromNib for the custom view, the pointer is reported as
"Invalid", the fact that the connection has not been made is further
confirmed when I get a seg fault after trying to do things with the
connection.
Any ideas about why the connection's not being made?
Thanks
Tom Davie
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
@mac.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden