Linking a Menu To A Document
Linking a Menu To A Document
- Subject: Linking a Menu To A Document
- From: Seth Willits <email@hidden>
- Date: Wed, 30 Jul 2003 12:59:33 -0700
One thing I never could figure out was how to connect a menu item to
the action of an object in another nib file. How do you do this?
For example, if you create a new multi-document application in Project
Builder and then create a new menu item in the file menu, how can I
connect that to an action in the MyDocument class?
Of all the examples I've looked at, not one has been constructed the
way a true/complex multi-document application would be, so they have
big important omissions like this. They all just use the "for free"
stuff and don't teach you anything. I've got and read through Learing
Cocoa w/ Objective-C (although I read it months ago) and I have Cocoa
Programming from Anguish, Buck, and Yacktman (which I don't like and
haven't read except for probably 4 or 5 paragraphs in different places
and lots of searching to see if it has an answer to my questions), but
I can't seem to figure this (and other things) out.
Can anyone recommend a *good* Cocoa book for a beginner? Cocoa
Programming is just... bleh. It covers everything but in one paragraph
and doesn't explain a lot.
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software -
http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine -
http://www.rbdeveloper.com
Webmaster for REALbasic Game Central -
http://www.freaksw.com/rbgames
"Often, by taking a chance, you either lose it or gain from it. If you
have
nothing to lose, why hesitate? Not pursuing the things you want in
life only lets the opportunity to obtain them pass you by."
-- Seth Willits
------------------------------------------------------------------------
---
_______________________________________________
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.