Swift Cheat Sheet: Common Syntax, Patterns, and Shortcuts
Just a bunch of short expressions in Swift.
Has nothing to do with Objective C .
Just a bunch of short expressions in Swift.
Positioning views relative to one another with auto-layout was fairly tricky until...
While starting iOS 9 we have UIStackView, it is a little bit tricky to stack views vertically or horizontally.
In Swift, we have a syntax candy called 'guard'..
A small button named 'Debug view hierarchy', displays current view hierarchy in 3D.
Decouple, separate, disengage, or dissociate (something) from something else.
Debugging errors that are a result of observers being added to an object and not removed from it can be hard.
Recently we had a need in a general way to catch calls that can throw an exception.
In Xcode 8, it is no longer possible to create NSManagedObject subclasses...
The following code is causing a compiler crash when compiled with Swift 3 and Xcode 8...
Collection view is highly optimized and works great out of the box.
A property in ReactiveSwift allows us to track its changes over time.
According to the documentation, to use ReactiveSwift.playground the following steps must be performed...
The power of ReactiveSwift lies within its operators!
ne of our views that contains a UICollectionView started crashing once in a while...
On iOS 10, a collection view embedded in a view has unexpected padding at the top.
RxSwift.Resources are being used to detect memory leaks during pre release tests. Solving Use of unresolved identifier 'Resources' error.
All we needed was a simple UICollectionView with just one cell that contained a label ...
We needed a collection view cell that contained an image view and a label.
RxSwift is a powerful framework and, as always, with power comes responsibility.
How to create a framework that uses C with Xcode
It is fairly easy to use UIScrollView with the AutoLayout on iOS 12+ but only if one follows the following steps ...
It has become pretty common among Swift experts to always use [weak self] inside of a closure to avoid retain cycles ...
XCTest expectations are great but it is not easy to use them.
Why do we need to inject dependencies and some tools that help with it...