In the recent years, some development teams started using approaches that require less development work, on the expense of the user’s app experience by moving more logic to a remote backend and having the iOS app be a thin client showing the server results.
In the recent years, some development teams started using approaches that require less development work, on the expense of the user’s app experience by moving more logic to a remote backend and having the iOS app be a thin client showing the server results. …
Why is UI testing so hard? Because the framework usually creates the UI objects for us, and we only fill in the blanks. It is expensive or impossible to construct all UI elements needed in a test. The Humble Object pattern is a way to test the logic of UI objects.
How can we make code testable when it is too closely coupled to its environment? We extract the logic into a separate easy-to-test component that is decoupled from its environment
The problem begins with a massive view controller. Historically, OS X separated mediating and coordinating controllers.
The mediating controllers…
Posted on March 7, 2018
In its Swift 4 release, Apple unveiled a brand new way of data encoding and decoding 🤓 by conforming your custom types with some easy to adopt protocols,
It provides support for class, struct and enum as well.
A type that can encode itself to an external representation. It is used by the types that can be encoded.
It contains a single method:
encode(to:) — Encodes this value into the given encoder.
A type that can decode itself…
Senior iOS Developer