Re: Writing a non-NSDocument based multiple document window apps
Re: Writing a non-NSDocument based multiple document window apps
- Subject: Re: Writing a non-NSDocument based multiple document window apps
- From: James Spencer <email@hidden>
- Date: Sun, 14 Mar 2004 14:51:06 -0600
On Mar 14, 2004, at 2:13 PM, Steve Palmer wrote:
Yes, that was what I was trying to do. The problem is that none of the
"Actions in First Responder" in the info panel are the actions for any
of the items in my document subclass because the NIB doesn't know
about the document subclass. So i've nothing to connect them to. I
guess I'm missing something pretty obvious here. :-)
In IB, select the Classes tab and then the First Responder subclass of
NSObject. From the Classes menu select the Add Action To First
Responder and type in the actions you want to have available. Remember
the trailing colon. Now when you go back to the Instances tab and
Control draw connections to the First Responder will include your
subclasses actions.
Spence
James P. Spencer
Rochester, MN
email@hidden
"Badges?? We don't need no stinkin badges!"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.