Re: Two questions about cocoa programming...

2008-09-29 Thread Graham Cox
On 29 Sep 2008, at 2:44 am, Leopard x86 wrote: 2. Using openPanel function: how can we memorize the most recent opened directory? As the question says, we often the open panel directive to open file, is there some method to guarantee that we can be the same location which is opened l

Re: Two questions about cocoa programming...

2008-09-29 Thread Chris Hanson
On Sep 28, 2008, at 9:44 AM, Leopard x86 wrote: Hi everyone. In the recent development, I need to solve the following two issues: In the future, if you have multiple questions, please post each one in a separate message. Furthermore, please use more descriptive subject lines. Everybody i

Two questions about cocoa programming...

2008-09-29 Thread Leopard x86
Hi everyone. In the recent development, I need to solve the following two issues: 1. How to distinguish the difference about the inline children count of the XML Node? here is my code: xmlDoc = [[NSXMLDocument alloc] initWithXMLString:[NSString stringWithContentsOfFile:_filePath]