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

Re: Store a file vs create on the fly?


  • Subject: Re: Store a file vs create on the fly?
  • From: Eric Gorr <email@hidden>
  • Date: Tue, 18 Jan 2011 20:45:19 -0500

It doesn't seem to me tha it will really matter based on your description. But, I'd probably go with storing it within your app bundle. This way I could make changes to the file without a recompile.

On Jan 18, 2011, at 8:30 PM, Jeremy Matthews <email@hidden> wrote:

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

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

References: 
 >Store a file vs create on the fly? (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: Store a file vs create on the fly?
  • Next by Date: Re: Printing Appears Very Small in Lower-Left Corner of Page
  • Previous by thread: Store a file vs create on the fly?
  • Next by thread: Re: Store a file vs create on the fly?
  • Index(es):
    • Date
    • Thread