• 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
NSTextField and IB Weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: NSToolbar doesn't add default items issue on 10.5.2
  • Next by Date: setMenuVisible
  • Previous by thread: Re: NSToolbar doesn't add default items issue on 10.5.2
  • Next by thread: setMenuVisible
  • Index(es):
    • Date
    • Thread