Re: Store a file vs create on the fly?
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