• 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: Writing a non-NSDocument based multiple document window apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Writing a non-NSDocument based multiple document window apps (From: Steve Palmer <email@hidden>)
 >Re: Writing a non-NSDocument based multiple document window apps (From: Scott Anguish <email@hidden>)
 >Re: Writing a non-NSDocument based multiple document window apps (From: Steve Palmer <email@hidden>)
 >Re: Writing a non-NSDocument based multiple document window apps (From: Steve Palmer <email@hidden>)
 >Re: Writing a non-NSDocument based multiple document window apps (From: "Louis C. Sacha" <email@hidden>)
 >Re: Writing a non-NSDocument based multiple document window apps (From: Steve Palmer <email@hidden>)

  • Prev by Date: Multiple menuitems with same submenu?
  • Next by Date: Re: Newbie Delegate question - storing preference
  • Previous by thread: Re: Writing a non-NSDocument based multiple document window apps
  • Next by thread: Re: Writing a non-NSDocument based multiple document window apps
  • Index(es):
    • Date
    • Thread