Re: Finding files before app loads

2008-10-28 Thread I. Savant
On Tue, Oct 28, 2008 at 12:09 PM, Glover,David <[EMAIL PROTECTED]> wrote: > I am now using [NSFileManager defaultManager], and all is working well > (noob!) :o) There are a lot of objects like this that follow the singleton design pattern. Always consult the documentation when using an unfamili

RE: Finding files before app loads

2008-10-28 Thread Glover,David
I am now using [NSFileManager defaultManager], and all is working well (noob!) :o) -Original Message- From: I. Savant [mailto:[EMAIL PROTECTED] Sent: 28 October 2008 15:49 To: Glover,David Cc: Cocoa Development Subject: Re: Finding files before app loads On Tue, Oct 28, 2008 at 11:44 AM

Re: Finding files before app loads

2008-10-28 Thread I. Savant
On Tue, Oct 28, 2008 at 11:44 AM, Glover,David <[EMAIL PROTECTED]> wrote: > Sorry, I've found a problem creating an NSFileManager instance, but this > is resolved and the file checks are now working :o) Just as an aside, are you using +[NSFileManager defaultManager]? You shouldn't have to create

RE: Finding files before app loads

2008-10-28 Thread Glover,David
bject: Finding files before app loads Hi there, I need to locate certain files and set the state of some objects in my nib accordingly before the app is visible to the user. I'm using fileExistsAtPath to look for the files when the awakeFromNib method is invoked. The files are definitely pr

Finding files before app loads

2008-10-28 Thread Glover,David
Hi there, I need to locate certain files and set the state of some objects in my nib accordingly before the app is visible to the user. I'm using fileExistsAtPath to look for the files when the awakeFromNib method is invoked. The files are definitely present, but fileExistsAtPath always re