Lightning Read #2: Optional String Pitfalls

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

Share
Lightning Read #1: Lazy Collections in Swift

I was planning to write “short” and simple articles about my findings from day-to-day Swift experiments for a while now… 🕵 Here goes the first lightning article! 🚀

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
Swift 4’s Codable

It is almost certain that at some point in your app development journey, you needed to (or you will soon :]) serialize some object or value and parse JSON response

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
Identifying Side Effects Using Swift

This is a hard problem in any language. When we are interacting with APIs, we are constantly making requests on objects. Let’s say we have an object x. If we

Share

I have been using MVVM for a while in several projects and I really like its simplicity. Especially, if you are moving from MVC, like many people, you only need

Share

Before we start, what is Redux? From redux.js.org: Redux is a predictable state container for JavaScript apps. So if you are not a web developer, it’s totally normal that you

Share