Clean Swift

Functions Please remember how elegant the swifts above look for future references. Building Up Starting to build an argument with an analogy, probably is not the right way to go.

Share
Using Channels for Data Flow in Swift 📻

Apple frameworks use delegation and observer pattern (NotificationCenter) heavily to pass information around. Although there is nothing wrong about these patterns, the actual implementation always looked a bit inconsistent to

Share
iOS/macOS Developer Productivity Kit

We use some tools and also some do customizations on them to increase our productivity. Every tech stack has different needs, therefore, a different set of tools. iOS, macOS, watchOS,

Share
Lightning Read #2: Optional String Pitfalls

I was trying to build a URL the other day. Check the following code block: [crayon-5b2c33e9ce759931262308/] Seems legit, right? Assume that we’re passing 23940 as userId to this initializer. Depending on the Swift version,

Share
Reusability and Composition in Swift

The one concept Nietzsche, Thoreau and Hesse most probably tried to elude through their lives: Dependency. Even if one does not agree or embrace their philosophies, a programmer should —

Share
Generics in Swift 4

As one of the most powerful features in Swift, Generics can be tricky. A lot of people have trouble understanding and using them, especially application developers. Generics are most suitable

Share
Architecting iOS Apps with “Core”

In the last two years, I’ve had chances to experiment with architectures like MVC, MVVM and VIPER. What’s common among those is the V component, which represents the views in

Share
Swifty Tips ⚡️

Subtle best practises that Swift developers are keeping secret. When I first started iOS development, I was always curious about best practises used by giant companies. How does their project structure

Share