• 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
Re: Hi, moving to Objective-C from RB.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hi, moving to Objective-C from RB.


  • Subject: Re: Hi, moving to Objective-C from RB.
  • From: August Trometer <email@hidden>
  • Date: Sun, 30 Jan 2005 16:27:54 -0500

It's hard to say exactly without more details, but I would start in the Cocoa Docs for NSArray.

Check the methods

arrayWithContentsOfFile:

and

writeToFile:atomically:

These will allow you to read and save from a file. Use these to store your data.

Good luck!

August



On Jan 29, 2005, at 11:29 AM, Tom Hancocks wrote:

Hi,

I've been learning Cocoa for around a week now, and so far i have been able to the basics relatively easily. I have made a program that has 2 NSTableViews. One acts as a "library" list containing the other lists which are either memo or todo lists. I've got the whole program working really nicely thanks to bindings, but i can't figure out how to save these lists at all. I've looked at tutorials and references on the net, but i can not understand what they are saying. Could any one tell me how this is done?

-- Tom Hancocks

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Hi, moving to Objective-C from RB. (From: Tom Hancocks <email@hidden>)

  • Prev by Date: NSControl Subclass With Multiple NSCells
  • Next by Date: Re: designated initializer conventions
  • Previous by thread: Re: Hi, moving to Objective-C from RB.
  • Next by thread: Re: Hi, moving to Objective-C from RB.
  • Index(es):
    • Date
    • Thread