NSArray firstObject is available only since iOS7.

NSArray firstObject was used and is only available since iOS7. The change I propose doesn't use it and keeps compatibility with older SDKs (which according to the readme and the podspec are still supported).

Hope it helps.