Decoupling Analytics from MVVM components | iOS Lead Essentials Community Q&A

Decoupling Analytics from MVVM components | iOS Lead Essentials Community Q&A

In this episode, Caio replies to a question we received from Catalin in the private iOS Lead Essentials Slack community: “What are your thoughts regarding an architecture for adding analytics for a push notification event?”

Read More

Testing code that uses DispatchQueue.main.async | iOS Lead Essentials Community Q&A

Testing code that uses DispatchQueue.main.async | iOS Lead Essentials Community Q&A

In this episode, Caio replies to a question we received from Tulio in the private iOS Lead Essentials Slack community: "How can I test code that dispatches work to the main DispatchQueue asynchronously? If I remove the thread handling code, my test succeeds."

Read More

Testing Date Span in Swift: Controlling the current date & time | iOS Lead Essentials Community Q&A

Testing Date Span in Swift: Controlling the current date & time | iOS Lead Essentials Community Q&A

In this episode, we reply to a question we received in the private iOS Lead Essentials Slack community. Valentin asked how to test a function that generates a date span without duplicating the production code in the test side.

Read More