Skip navigation.
 
mlQuestions about enhancing the Learn Cocoa II app.
FROM : David Orriss Jr
DATE : Fri Jan 04 00:10:18 2008

Long time software developer (Java, C/C++) and I've done a fair share 
of UI work (both web, Windows and Swing-based) but I'm definitely new 
to Cocoa and OS X.

I found the Learn Cocoa II is a great springboard (http://cocoadevcentral.com/d/learn_cocoa_two/
).  Basically it's a notepad.. but part of being a notepad is 
supporting being able to write files to storage and read them back. 
This isn't part of the tutorial (most likely because it goes 
significantly outside of the scope of the tutorial).

What I want to do next is the following - and if someone can offer 
some direction and help I'd appreciate it:

- I want to figure how to hook into the saveDocument and openDocument 
events from the File | Save and File | Open menu choices.

- Display a file chooser.

- Response to the file was selected or entered in that chooser.

- Read/Write to storage.

I think after I have done these things I'll have a fair handle on some 
crucial parts of how Cocoa works.

Can anyone 'throw me a bone' here?  Thanks in advance!


--
David Orriss Jr.

My blog: http://www.codethought.com/blog

Related mailsAuthorDate
mlQuestions about enhancing the Learn Cocoa II app. David Orriss Jr Jan 4, 00:10
mlRe: Questions about enhancing the Learn Cocoa II app. Steve Weller Jan 4, 01:24
mlRe: Questions about enhancing the Learn Cocoa II app. David Orriss Jr Jan 4, 03:04