2010年12月19日星期日

Cocoa runtime working directory

To specify a working directory of the application at runtime, we could use the 
changeCurrentDirectoryPath:(NSString*) of the NSFileManager

where the [NSBundle mainBundle] get the mainBundle and in my case I need the  "resourcePath" to get the path containing my stuffs.

沒有留言:

發佈留言