• 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: Connections not made with new IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Connections not made with new IB (From: Thomas Davie <email@hidden>)

  • Prev by Date: Re: FYI - Resolution Independence
  • Next by Date: Re: Interface Builder 3 -- Completely New!
  • Previous by thread: Connections not made with new IB
  • Next by thread: Re: Connections not made with new IB
  • Index(es):
    • Date
    • Thread