ios, ios-8Supporting iPhone 6 & iPhone 6 plus resolutionsBy default all the apps (even compiled with Xcode 6 and iOS 8) will run in a scaled mode on both iPhone 6 & iPhone 6 plus.
ios, xcodeSet application name depending on the build typeHaving a different application name for release and development builds.
ios, ios-8, objcfileExistsAtPath always returns NO (false)Generating the path dynamically with NSSearchPathForDirectoriesInDomains.
ios, objcNSURL URLWithString vs fileURLWithPathA frequent mistake when playing a local video using [AVAudioPlayer initWithContentsOfURL:url] is to use URLWithString instead of fileURLWithPath.
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, 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.
swift, reactive-swift, reactive-cocoa, iosWorking with a playgroundAccording to the documentation, to use ReactiveSwift.playground the following steps must be performed...
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.
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.
ios, xcodeSymbolification in iOS applicationsSymbolification is the process of mapping machine addresses into the source code. The tricky part is that by default .DSYM file is only generated for release builds.