• 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: Silly question about Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Silly question about Interface Builder


  • Subject: Re: Silly question about Interface Builder
  • From: Byron Wright <email@hidden>
  • Date: Mon, 21 Mar 2005 12:33:34 -0800

there are some classes that cannot be directly instantiated that way. Solution:

- go to you palette .
- Drag a window widget into your instances tab.
- selected the window and go to the NSWindow info panel and select "custom class" .
- select your newly created sub classes as the windows custom class, it should be one of the available subclasses in the list.


Hope that helps,
Byron



On Mar 21, 2005, at 12:22 PM, Phil Ershler wrote:

I am trying to put together a Cocoa Application with X-Code. I want to be able to subclass NSSWindow. Following the steps in Creating a Class in Interface Builder Help, I can create a subclass, myWindow. I can add actions and outlets to myWindow. But when I try to instantiate myWindow, the "Instantiate MyWindow" menu option is grayed out. What's up?

Thanks, Phil

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Silly question about Interface Builder
      • From: Phil Ershler <email@hidden>
References: 
 >Silly question about Interface Builder (From: Phil Ershler <email@hidden>)

  • Prev by Date: Silly question about Interface Builder
  • Next by Date: Re: Silly question about Interface Builder
  • Previous by thread: Silly question about Interface Builder
  • Next by thread: Re: Silly question about Interface Builder
  • Index(es):
    • Date
    • Thread