Questions about enhancing the Learn Cocoa II app.

  • 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
  • On Jan 3, 2008, at 3:10 PM, David Orriss Jr wrote:

    > 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!
    >

    I recommend you watch all of the CocoaCast videos (http://
    www.cocoacast.com/):

    http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?
    id=160439142

    These cover just about everything other than working with files. You
    should watch them in order since they build an application bit by bit.
  • On Jan 3, 2008, at 4:24 PM, Steve Weller wrote:

    > I recommend you watch all of the CocoaCast videos (http://www.cocoacast.com/
    > ):
    >
    > http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=160439142
    >
    > These cover just about everything other than working with files. You
    > should watch them in order since they build an application bit by bit.

    I can even put them on my iPod and watch them on the train...!  Very
    cool...!!  Thanks!

    --
    David Orriss Jr.

    My blog: http://www.codethought.com/blog
previous month january 2008 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today