NS for iOS Devs – Testability

Most of the developers have hard times to understand the testability. Tests are often underrated and despised. What are the benefits of tests?

Share
NS for iOS Devs – Concurrency

We face handling more than one operations at the same time in today’s world. We want to shorten the user’s waiting time even though it’s not always necessary. Displaying the loading for a long time or freezing the UI moves user’s focus away and decreases the app usage from time to time. At the same time, keeping the attention in the app became really hard. Therefore, instead of executing operations synchronously one after another, we have to run them in parallel to have a better user experience.

Share
NS for iOS Devs – View Lifecycle

Each view is created either using storyboards, xibs or using a programmatic approach. Independent from the approach, truly understanding when the view is created, loaded, appeared or destroyed helps us to understand our approach deeply while developing the screen designs, animations, and even business logic.

Share
NS for iOS Devs – Application Lifecycle

Every iOS developer needs to understand the possible states and lifecycle of an iOS application. Knowing when the state enables us to work behind the scenes.

Share
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-5c1263ec9c95e322721613/] 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