Added simple #ifdef to allow building against older SDKs
Merge pull request #196 from michalzelinka/master

Added simple #ifdef to allow building against older SDKs
Potentially fix #190.
Update project settings.
Fix bad assumption: UIApplication's delegate does not always respond to -window. The method is @optional.
Merge pull request #203 from adamjernst/master

Fix bad assumption: UIApplication's delegate does not always respond to -window