Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Document-Based, but not really...



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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.