I have the following methods
var photos = [MWPhoto] = [MWPhoto]() func numberOfPhotosInPhotoBrowser(photoBrowser: MWPhotoBrowser!) -> UInt { return
Add this anywhere outside of a class:
extension UInt { /// SwiftExtensionKit var toInt: Int { return Int(self) } }
Then just call:
self.photos[index].toInt