[![CI Status](http://img.shields.io/travis/Miguel Saiz/SafeArrays.svg?style=flat)](https://travis-ci.org/Miguel Saiz/SafeArrays)
On normal swift arrays, subscript them with the word "safe:", if bounds checking fails, then it will return nil.
let testArray = [1,2,3]
// Will return nil
testArray[safe: 4]
// Will crash the app with an "array out of bounds exception".
testArray[4]
SafeArrays is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SafeArrays"
Miguel Saiz, miguelsaizo@gmail.com
SafeArrays is available under the MIT license. See the LICENSE file for more info.