PDA

View Full Version : How To Create A Folder




BoffeyMac
Aug 30, 2008, 08:39 AM
I was wondering if any one can help me.

I am trying to create a folder on my desktop using xcode. using a cocoa application.

I know that i am able to do this by right clicking on the desktop, or using a applescript however i would like to now how to do this using cocoa.

thanks any reply appreciated.



SC68Cal
Aug 30, 2008, 09:52 AM
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html#//apple_ref/occ/instm/NSFileManager/createDirectoryAtPath:attributes:

BoffeyMac
Aug 30, 2008, 12:22 PM
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html#//apple_ref/occ/instm/NSFileManager/createDirectoryAtPath:attributes:

Thats Brilliant Thanks