Re: Where am I if I'm a .App package?
Re: Where am I if I'm a .App package?
- Subject: Re: Where am I if I'm a .App package?
- From: Scott Harper <email@hidden>
- Date: Tue, 4 Oct 2005 02:19:19 -0600
What I was thinking was have the initial XML file in the app's
bundle, then include the default template images in a media folder
within the app's directory, say /Applications/MyApp/media or some
such naming scheme. What should I be doing instead, and what
frameworks/etc should I be looking into to do this "correctly"
according to Apple's standards?
If I understand what you're trying to do correctly, here's how you
want to do it:
1) Have the initial XML contained as a resource in your apps bundle.
2) Copy it to ~/Library/Application Support/your_app_name_here/
media/your_xml.xml
3) Modify that copy.
Great, that's helpful! ^_^ So then where do I keep the default files
to be loaded? (The ones specified in the XML file.) Obviously I
want this to work on any system... Should I perhaps store the default
images in the .app bundle as well, and copy the ENTIRE file there if
the library directory does not exist? (In case it's a fresh install,
or the user is stupid and changes the folder name...)
--Scott
PS: m, sorry about the double send -- forgot to forward it to the
mailing list rather than directly reply to you. >.<;;
_______________________________________________
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