One more thing...
Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week.
Design Patterns in Swift: State Pattern
If your objects can have multiple states, then you should consider implementing a state pattern. In this article we'll cover some theory on state pattern, and then we'll go over an example on how to implement it. Hopefully, by the end of the article, you'll be familiar with the state pattern.

Read More
Blog posts
Never underestimate the power of a good clickbait, but in our case, it happens to be the truth. We have some really great people that are going to be teaching software development at Infinum Academy and we want to introduce them to you.

Xcode Playground might be actually useful if it doesn't crash like every 15 minutes. Here are some tips to reduce Playground crashes / CPU usage, improve productivity and using Playground for testing JSON.

Most engineers agree that testing is good. There have been so many articles and blogs about the benefits of testing that they’re too numerous to list. But what does it mean to write a unit test in the iOS environment? What makes a good unit test? What’s worth testing?
This post is a tutorial to setup a multi project iOS application workspace. It doesn’t necessarily need to be an iOS application though, this setup can be used for macOS, tvOS, or a mixture of those.

The humble CGRect struct might seem like a primitive beast, but it has a number of useful methods that let you adjust rectangles i a variety of ways.
During the past years, autolayout was really useful to create dynamic interfaces for a multitude of devices with differing resolution. From iOS 9, is now possible to use a new UI component called UIStackView, that is the holy grail and can be used in conjunction with autolayout. In this article, we introduce a conceptual framework for considering the range of strategic possibilities in using StackView.
Marcus Zarra has some counterpoints for a post from Dave DeLong regarding Core Data laws.
Creating reusable components to architect UI, concurrency, data, and other modules in Swift.

Libraries
A reactive, card-based UI framework built on UIKit for iOS developers.

SpriteKit Floating Bubble Picker (inspired by Apple Music).
Curated by Infinum's iOS team.
Infinum iOS Team · 156 2nd St · San Francisco CA 94105 · USA
Unsubscribe | View in browser