你的位置:首页 > 软件开发 > 操作系统 > iOS学习之文件管理器(NSFileManager)和文件对接器(NSFileHandle)

iOS学习之文件管理器(NSFileManager)和文件对接器(NSFileHandle)

发布时间:2016-06-03 23:00:12
1、文件管理器(NSFileManager) 1> 创建文件夹  创建所需的方法在头文件的声明:/* createDirectoryAtPath:withIntermediateDirectories:attributes:error: creates a director ...

1、文件管理器(NSFileManager)

 1> 创建文件夹

  创建所需的方法在头文件的声明:

/* createDirectoryAtPath:withIntermediateDirectories:attributes:error: creates a directory at the specified path. If you pass 'NO' for createIntermediates, the directory must not exist at the time this call is made. Passing 'YES' for 'createIntermediates' will create any necessary intermediate directories. This method returns YES if all directories specified in 'path' were created and attributes were set. Directories are created with attributes specified by the dictionary passed to 'attributes'. If no dictionary is supplied, directories are created according to the umask of the process. This method returns NO if a failure occurs at any stage of the operation. If an error parameter was provided, a presentable NSError will be returned by reference.   This method replaces createDirectoryAtPath:attributes: */ 

原标题:iOS学习之文件管理器(NSFileManager)和文件对接器(NSFileHandle)

关键词:IOS

IOS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。