NSTextField and IB Weirdness
NSTextField and IB Weirdness
- Subject: NSTextField and IB Weirdness
- From: Mike <email@hidden>
- Date: Wed, 26 Mar 2008 22:31:00 -0700
I am using Xcode 2.5 and IB Version 2.5.6 (489).
I have a window with two NSTextFields. Both are static.
I've verified all my outlets and connections are valid.
Both outlet types are set to NSTextField in IB's inspector pallette.
However, when I generate the class files, no matter what I do, the first
NSTextField is created as type id instead of NSTextField. When my object
initializes in awakeFromNib, the debugger shows outlet listed as a
NSTextField initialized, but the one created as id is nil.
Even if I change the id outlet's type to NSTextField, it still will not
initialize. I then go back to IB and verify that my item in the window
is still set to type NSTextField, but it won't initialize no matter what
I do.
Both NSTextField's are identical. One works, one doesn't and it isn't
clear why.
Mike
_______________________________________________
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