One more thing...
Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week.
Clamping ranges
Sometimes, especially when dealing with offsets in UIScrollViews or other, we need to clamp a certain undefined range of numbers into another defined array of numbers.
Read More
Learn which code review pitfalls can slow your team down, so you can stay productive and getting the most value from your code reviews.

This week, let’s take a look at a technique that can let us leverage Swift’s type system to perform data validation at compile time.

In this article, we will take a deep look at Combine and compare it to RxSwift.

Unused images can be cleaned up using several free tools like LSUnusedResources and FengNiao. Learn how to use those tools and keep your projects clean.

Get started with Apple’s Combine with your existing RxSwift knowledge.

In an average day of UIKit programming, you might subclass UIView, add some child views, override -layoutSubviews, and repeat. But on weird days, when you need to do weird things, you start to look at those other methods on UIView that you can override.
Libraries & Tools
MacOS app to generate Swift 5 code for models from JSON (with Codeable).
Boilerplate-free mocking framework for Swift.
The best way to debug applications during development is to run them in simulator and the best way to run simulator is right next to Xcode in fullscreen.