Misc

SwiftGen - Strongly typed assets in Xcode

I remember when I was in university, learning Android SDK and writing my first mobile app. All assets were bundled together in nifty R class. With this autogenerated assets class, developers could use

Cleaner inits - ExpressibleBy... protocols

Sometimes structures or classes we create in code can be easily expressed by built-in Swift types. Consider the following code: struct Person { let name: String } let ana = Person(name: "Ana") I