• 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
Document-Based, but not really...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Document-Based, but not really...


  • Subject: Document-Based, but not really...
  • From: Sam Goldman <email@hidden>
  • Date: Sun, 09 Dec 2001 02:04:14 -0800

I am making an app (duh) and I am having a problem getting something to work
(duh again).

It's a simple file browser and I want to be able to open copies of the same
nib file multiple times, but without the open/save/print stuff that a
Document-Based app forces on you. For now I have just taken out those items
from the main menu. Is it possible bypass a document controller and have a
window controller do this?

A second question: I also want to add my own menu items and have them do
stuff. What I have done is set up a NSObject subclass ("Menu_Controller") in
the MainMenu.nib and then set the targets of the menu item to my main
controller. When I do that, the action seems to be connected (chacked with
NSLog()), but nothing else happens.

As far as I can assume, I am going about this all wrong and there are better
(working) ways to do this.

I tend to be unclear when I type (mostly because I don't know what I'm
talking about) so if you have question, ask 'em.

Thanks,
Sam


  • Prev by Date: Damn sisters :-)
  • Next by Date: Re: logout and auto-login
  • Previous by thread: Re: Damn sisters :-)
  • Next by thread: Re: Document-Based, but not really...
  • Index(es):
    • Date
    • Thread