34,333
edits
Changes
→Creating an NSFileManager Instance Object
</pre>
In the above example we have declared a variable named ''filemgr''to point to an object of type NSFileManager, and then created an object of that type using the NSFileManager ;;''defaultManager'' class methods and assigned it to the variable. Having created the object we can begin to use it to work with files and directories.
== Identifying the Current Working Directory ==