• 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
Store a file vs create on the fly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Store a file vs create on the fly?


  • Subject: Store a file vs create on the fly?
  • From: Jeremy Matthews <email@hidden>
  • Date: Tue, 18 Jan 2011 20:30:11 -0500

So I have a simple app which, in essence, creates a text file with some items determined by the user (kind of like an old-fashioned Mad Libs page). Most of the file does not change...I just change a few portions based upon checkbox states, textfield contents, etc. Question is: should I have that file pre-created within the app bundle, load it, make changes, and save out? Or, should I store the text in some strings within code and just write out the file when needed?

Are there any folks out there with practical experience here for one method vs another?

Thanks,
j

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Store a file vs create on the fly?
      • From: Uli Kusterer <email@hidden>
    • Re: Store a file vs create on the fly?
      • From: Eric Gorr <email@hidden>
  • Prev by Date: Re: Help on Cocoa Class references
  • Next by Date: Re: Store a file vs create on the fly?
  • Previous by thread: Re: Connect a NSTableView to a datasource in another nib
  • Next by thread: Re: Store a file vs create on the fly?
  • Index(es):
    • Date
    • Thread