Hi Rick,
The Sketch example program (Developer->Examples->AppKit->Sketch) adds some menu
commands. I used it as an example when I was puzzling out how to add a menu
item with new commands and then handle those commands in my first app.
Hope this helps,
Joel
_
On 1 Apr 2008, at 9:29 am, Rick Mann wrote:
Well, I guess it's a separate argument as to whether or not "Import"
should be used instead of "Open". I tend to think of "Import" as
being used to add to an existing document's data (creating one if
none exists), and for data types that are not "
Sorry, just read a bit more, and see what I was missing. I thought
NSDocumentController was an NSDocument. I have one more question about
that that I'm going to try to answer for myself, if not I'l post.
Thanks!
On Mar 31, 2008, at 3:36 PM, Hamish Allan wrote:
In a document-based applicati
On Mar 31, 2008, at 3:36 PM, Hamish Allan wrote:
In a document-based application, the document controller does. See
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSDocumentController_Class/Reference/Reference.html#/
/apple_ref/occ/instm/NSDocumentController/ope
On Mon, Mar 31, 2008 at 11:29 PM, Rick Mann <[EMAIL PROTECTED]> wrote:
> It's easy enough to make my app open more document types, but that
> doesn't really get at the core of the problem...how does one add
> fundamental commands similar to Open? They're targeted at the first
> responder, and
On Mar 30, 2008, at 7:58 PM, Graham Cox wrote:
I'm not sure if using Core Data would make a difference, but I'd
just do this by responding to the menu command by putting up an
NSOpenPanel then processing the filename it returns appropriately. I
don't think there's any magic "proper" way to
I'm not sure if using Core Data would make a difference, but I'd just
do this by responding to the menu command by putting up an NSOpenPanel
then processing the filename it returns appropriately. I don't think
there's any magic "proper" way to do this within the document
architecture, excep
In the mishmash of Cocoa tutorials and other docs I've read, I never
seem to be led through the fundamentals. With Cocoa doing so much
basic stuff for me, and Xcode stationery doing a bunch more, a few
things seem to fall through the cracks.
I have a pretty straightforward document applicat