Re: Silly question about Interface Builder
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