Re: Using Custom.plist
Re: Using Custom.plist
- Subject: Re: Using Custom.plist
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 5 Jul 2001 12:36:45 +0200
On jeudi, juillet 5, 2001, at 07:04 AM, Youngjin Kim wrote:
I'm trying to write a custom property list and read it (an array) at
runtime but without success. Anyone direction?
Something like this ?
NSArray * tArray;
NSString * tPath;
tPath=[[NSBundle mainBundle]
pathForResource:@"myCustomPlistFileIWouldLikeToRead" ofType:@"plist"];
if (tPath!=nil)
{
tArray=[NSArray arrayWithContentsOfFile:tPath];
}