Thanks all for the responses!
On Wed, May 21, 2008 at 6:14 PM, Michael Ash <[EMAIL PROTECTED]> wrote:
> On Thu, May 22, 2008 at 8:12 AM, Wayne Shao <[EMAIL PROTECTED]> wrote:
> > I could only fine mkdir() in C. Is there anything in Cocoa? I don't
> think
> > mkdir() can handle NSString. I need
On Thu, May 22, 2008 at 8:12 AM, Wayne Shao <[EMAIL PROTECTED]> wrote:
> I could only fine mkdir() in C. Is there anything in Cocoa? I don't think
> mkdir() can handle NSString. I need to include Chinese characters in my
> directory name.
Other have answered your primary question, I just want to
On 22 May 2008, at 01:12, Wayne Shao wrote:
How do I create a new directory in Cocoa?
e.g, ~/a/b existsand I want to create ~/a/b/c/d/file.txt. So I
need to
something equivalent to mkdir -p ~/a/b/c/d
I could only fine mkdir() in C. Is there anything in Cocoa?
NSFileManager has two
NSFileManager would be one way to do it.
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html
wp
On May 21, 2008, at 5:12 PM, Wayne Shao wrote:
A few writeToFile() methods in Cocoa only works if the directory
already
exis
A few writeToFile() methods in Cocoa only works if the directory already
exists.
How do I create a new directory in Cocoa?
e.g, ~/a/b existsand I want to create ~/a/b/c/d/file.txt. So I need to
something equivalent to mkdir -p ~/a/b/c/d
I could only fine mkdir() in C. Is there anything in