xcode, auto-layout, swiftPositioning views relative to one another with auto-layoutPositioning views relative to one another with auto-layout was fairly tricky until...
ios, auto-layout, swiftStack views vertically or horizontally on iOS 8 using AutoLayoutWhile starting iOS 9 we have UIStackView, it is a little bit tricky to stack views vertically or horizontally.
xcode, objc, swift, auto-layoutDebugging view constraints with Xcode 7A small button named 'Debug view hierarchy', displays current view hierarchy in 3D.
swift, architecture, viperVIPER architectureDecouple, separate, disengage, or dissociate (something) from something else.
swift, xcodeDebugging xxx was deallocated while key value observers were still registered with itDebugging errors that are a result of observers being added to an object and not removed from it can be hard.
swiftCatching an exception in Swift using functions!Recently we had a need in a general way to catch calls that can throw an exception.
xcode, swift, iosCreating NSManagedObject subclasses from a model in Xcode 8In Xcode 8, it is no longer possible to create NSManagedObject subclasses...
swift, ios, xcodeCompiler Error when using Generics and nested functions, Command failed due to signal: Segmentation fault: 11The following code is causing a compiler crash when compiled with Swift 3 and Xcode 8...
swift, iosA simple optimization for UICollectionView (or UITableView) updatesCollection view is highly optimized and works great out of the box.
reactive-swift, reactive-cocoa, swiftA very important difference between a Signal and a SignalProducerA property in ReactiveSwift allows us to track its changes over time.
swift, reactive-swift, reactive-cocoa, iosWorking with a playgroundAccording to the documentation, to use ReactiveSwift.playground the following steps must be performed...
swift, reactive-swiftFlatten and some of its strategiesThe power of ReactiveSwift lies within its operators.!
xcode, ios, swiftUICollectionView terminating with uncaught exception of type NSExceptionne of our views that contains a UICollectionView started crashing once in a while...
swift, ios, auto-layoutUnwanted padding in UICollectionView in iOS 10On iOS 10, a collection view embedded in a view has unexpected padding at the top.
rx-swift, swift, cocoa-podsUse of unresolved identifier 'Resources'RxSwift.Resources are being used to detect memory leaks during pre release tests. Solving Use of unresolved identifier 'Resources' error.
swift, iosUICollectionView: Self sizing cell with a UILabel on iOS 10All we needed was a simple UICollectionView with just one cell that contained a label ...
ios, swift, auto-layoutSetting height constraint for a view in a cellWe needed a collection view cell that contained an image view and a label.
rx-swift, swift, iosHow to avoid memory leaksRxSwift is a powerful framework and, as always, with power comes responsibility.
swift, auto-layoutUIScrollView with AutoLayout, programmaticallyIt is fairly easy to use UIScrollView with the AutoLayout on iOS 12+ but only if one follows the following steps ...
swiftShould one always use weak self to avoid retain cycles?It has become pretty common among Swift experts to always use [weak self] inside of a closure to avoid retain cycles ...
swiftDependency injection explainedWhy do we need to inject dependencies and some tools that help with it...