Testing callbacks in Swift with XCTest
A tutorial on testing asynchronous callback functions in Swift using XCTestExpectation, part of a series on practical testing.
A tutorial on testing asynchronous callback functions in Swift using XCTestExpectation, part of a series on practical testing.
A guide to preventing unit tests from loading the main AppDelegate in Swift, improving test speed and isolation.
Explains how FlowControllers can improve iOS app architecture by managing navigation and presentation logic, reducing dependencies and spaghetti code.
A technical guide on implementing advanced iOS UI animations like folding, shaking, and button states using Core Animation's 3D transforms.
A developer explains how to create a custom Xcode plugin in Swift to add clickable file links in the console log output.
A guide to creating parameterized XCTest test cases in Swift, including workarounds for NSInvocation limitations.
A technical tutorial on recreating Headspace's animated, imperfect dot logo using iOS graphics and CAShapeLayer.
Explains how Swift handles integer overflow using specific methods like addWithOverflow, preventing crashes.
Explores solutions for splitting Swift initializer logic into functions while adhering to Swift's initialization safety rules.
A guide to converting an Objective-C protocol that returns a protocol-conforming object into Swift, focusing on the use of typealias.
Tips for using Interface Builder in iOS development to reduce boilerplate code, covering Storyboards, XIBs, and custom references.
A guide to setting up Travis CI for automated testing of iOS, macOS, watchOS, and tvOS applications, including .travis.yml configuration examples.
A technical tutorial on implementing a floating burger menu animation in iOS using CAShapeLayer and CoreAnimation.
A recap and summary of the Swift Summit SF 2015 conference, focusing on lessons learned from Swift Standard Library protocols.
A guide on using unit and acceptance tests in Swift to fix bugs, following a TDD approach with practical examples.
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.