I have an NSView subclass defined in IB. It's a custom object in my nib and it's a child of a window's content view. I have an outlet defined in the NSView subclass that's bound to a static text field within my custom view.

Upon running the app, two instances of my custom NSView class are created. In one of them, my outlet is bound correctly, but [view subviews] returns an empty array. In the other instance, my outlet is not bound (it's nil), but subviews returns the correct result (it shows the static text field)! In subsequent callbacks to my class, it's the instance whose outlet is not bound that is called.

Any help?

Xcode 3.1, BTW.

------------------------------------------------

Nick Pilch / Tacit Knowledge, LLC
[EMAIL PROTECTED]
Cell: 510-381-6777



_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to