Articles Tagged 'NSBundle'

Objective-C: how best to use the property list files

One of the advantages of the Property list files, which are simply text files that follow the XML standard, is that you can instantly be transformed into objects (such as array or dictionary) Objective-C. When you create a file list Property:

Property List

Continued ...

Very short snippet: UIWebView, and display PDF files inside

The object UIWebView can be used to display several files. For example you can use it to display - as well as QuickTime movies or YouTube - PDF or HTML file included in our code.

Continued ...

Very short snippet: Apple iPhone file system

Both the Mac OS X and iPhone OS, we can access easily and directly to the directory - most important - the system which are:

1
2
3
NSHomeDirectory Returns the path to the current user's home directory.
Returns the path to NSHomeDirectoryForUser Given a user's home directory.
NSTemporaryDirectory Returns the path of the temporary directory for the current user.

Continued ...