When to use map, flatMap, or for loops in Swift
A guide explaining when to use map, flatMap, and for loops in Swift, focusing on transformations versus side effects.
A guide explaining when to use map, flatMap, and for loops in Swift, focusing on transformations versus side effects.
A practical guide to using functional programming concepts like functors and monads to simplify Swift optional handling and reduce nested code.
Explores a non-standard, lighter method for integrating iOS dependencies with Carthage using the --no-build flag and direct project inclusion.
Introduces Nimble, a matcher framework for Swift/Objective-C, to enhance XCTest cases with more readable and expressive syntax.
Explains how to implement explicit dependencies in Swift for better code readability and testability, comparing it to Objective-C.
A guide for developers transitioning from Objective-C to Swift, focusing on safety concepts like optionals and value semantics.
A quick tip on converting a Swift String into an array of characters using the map function.
Swift extensions to simplify Core Data localization, including methods for localizing entity names and working with model strings files.
A guide to packaging iOS IPA files with Swift code using a custom terminal script, addressing issues in automated build pipelines.
A guide to creating type-safe Core Data objects in Swift, covering convenience initializers and factory methods to avoid string-based APIs.
A tutorial on using Xcode 7's UI testing framework, focusing on asynchronous waiting for view changes with code examples.
Xcode 7 beta 4 fixes @objc class prefixes, allowing proper namespacing for Swift classes used in Objective-C.
A tutorial on using Carthage to add Quick and Nimble testing frameworks to a Swift 2 project in Xcode 7.
Explores different approaches to testing the data layer in mobile apps using Realm, including in-memory vs on-disk benchmarks.
A first look at the new UI testing framework introduced in Xcode 7 and iOS 9, including setup and a sample test.
A developer's experience with Apple's UIStackView, explaining how it simplifies complex UI layouts in iOS compared to traditional Auto Layout.
A developer discovers and documents a bug in Xcode where the @objc attribute fails to create the correct class name for Swift classes used in Objective-C.
Explains a common Objective-C bug where messaging nil returns a zeroed struct, causing unexpected behavior when checking for NSNotFound.
Performance comparison of Swift vs. Foundation collection data types, including detailed test results and Big-O notation analysis.
Introducing Playgrounds for Objective-C, enabling real-time code testing and rapid prototyping similar to Swift's feature.