If it is small enough and you can load the entire thing into a
CFString, there is always CFStringCreateArrayBySeparatingStrings and
just pass the separator as the line ending of the file.
Ack, at 3/31/05, Trygve Inda said:
It will have as many as 100 or so strings and I need to grab the Nth one and
convert it to a URLRef.
Is there any API that will do this (I haven't been able to find one)... Or
should I roll my own?
The file will be downloaded from my website by my application so that I can
keep it updated without having to update my app. I have considered making it
a plist of sorts and having an array to be able to use CFArray. The file was
planned to be stored in Application Support, but I think most he CF
utilities require the plist to be in Preferences.
Any suggestions as to the best way to do this?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden