orta / ARAnalytics

Simplify your iOS/Mac analytics
MIT License
1.84k stars 217 forks source link

Use instancetype instead of id as return type in init methods. #275

Closed BenchR267 closed 8 years ago

BenchR267 commented 8 years ago

instancetype brings much more type safety especially in Swift. id means that init returns something, instancetype means it returns an instance of the type that is being initialized. I'll submit a pull request :)