• 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
Questions about enhancing the Learn Cocoa II app.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Questions about enhancing the Learn Cocoa II app.


  • Subject: Questions about enhancing the Learn Cocoa II app.
  • From: David Orriss Jr <email@hidden>
  • Date: Thu, 3 Jan 2008 15:10:18 -0800

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




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Questions about enhancing the Learn Cocoa II app.
      • From: Steve Weller <email@hidden>
  • Prev by Date: Re: use finalize for removing AppleEvent handlers in GC apps?
  • Next by Date: Re: Questions about enhancing the Learn Cocoa II app.
  • Previous by thread: Re: use finalize for removing AppleEvent handlers in GC apps?
  • Next by thread: Re: Questions about enhancing the Learn Cocoa II app.
  • Index(es):
    • Date
    • Thread