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 (Cocoa-dev@lists.apple.com)

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