iphone - createDirectoryAtPath:attributes: alternative -
[nsfilemanager createdirectoryatpath:attributes:] gives me warning depreciated.
what alternative? or there better way of doing this?
thanks
tom
use createdirectoryatpath:withintermediatedirectories:attributes:error:
p.s.
createintermediates if yes, method create necessary intermediate directories; if no, method fails if parent of directory created not exist. in addition, if pass no parameter, directory must not exist @ time call made.
Comments
Post a Comment