Why mocking in iOS tests may not stop network and DB activity entirely

Why mocking in iOS tests may not stop network and DB activity entirely

An excellent iOS test suite is fast, reliable, precise and, reproducible. A common problem that makes automated testing in iOS slow and flaky is the presence of unexpected side-effects and artifacts during the execution of unit tests.

Read More

Why switching iOS dev jobs is not the best way to increase your salary

Why switching iOS dev jobs is not the best way to increase your salary

Many iOS developers believe that switching jobs frequently is the best (and easiest) way to increase their compensation and progress in their career.

Although it can yield improvements, we believe that switching jobs frequently generates only micro-improvements while bearing huge risks.

Read More

How Deleting Swift Code Can Make You a More Valuable iOS Developer—Clean iOS Codebase Series

How Deleting Swift Code Can Make You a More Valuable iOS Developer—Clean iOS Codebase Series

The ability to develop and maintain a clean iOS codebase is essential to becoming a remarkable iOS Developer. A simple but extremely valuable action you can take is removing unused code—mercilessly. At the same time, we meet many developers afraid of deleting code because they might need it in the future.

Today, you’ll learn two ways for retrieving deleted code from a git repository and how good practices for commits facilitate the maintenance of a clean iOS codebase.



Read More

Swift Networking API: Singletons, Globals, or Dependency Injection?! [Preview]

Swift Networking API: Singletons, Globals, or Dependency Injection?! [Preview]

In this episode, we start implementing the `RemoteFeedLoader` (API) module by following the Load Feed Use Case requirements.

Read More

Careful With “Singleton” Lookalikes (WAY TOO COMMON)

Careful With “Singleton” Lookalikes (WAY TOO COMMON)

Have you ever been told that Singleton is an anti-pattern? Well, Singletons can be ok, but if you are not careful, they aren’t just an anti-pattern. THEY CAN BE DANGEROUS!

Read More