Animations are assets: using Core Animation archives on iOS
Explains how to treat complex iOS animations as assets using Core Animation Archives (.caar files) for better performance and reusability.
Explains how to treat complex iOS animations as assets using Core Animation Archives (.caar files) for better performance and reusability.
Explores the technical challenges of implementing drag-and-drop for PDF editing on iOS, focusing on UICollectionView and multi-page document complexities.
A guide to removing code duplication in Swift unit tests by creating reusable helper functions, improving test suite maintainability.
A Swift tutorial on creating a custom UIView subclass by loading and integrating a xib file, including handling outlets and constraints.
Explains how to use test fixtures in Swift to simplify unit test setup, making code cleaner and more focused.
A quick guide to implementing the Facade design pattern in Swift, demonstrating how to simplify complex subsystems with a clean API.
A Swift developer shares a better approach to naming protocols for testability, focusing on behavior over types.
Explains a workaround for creating private properties in Swift protocols to hide implementation details from conforming types.
Explains the iterator design pattern in Swift, showing how to implement custom sequences and conform to IteratorProtocol.
Explains how event loops enable smooth UI and handle high server load by preventing blocking operations in Swift applications.
Explores a Swift compiler bug where re-binding 'self' in a weak closure breaks Xcode debugging, with historical context on weak/strong self patterns.
A guide to generating random numbers and values in Swift using the native APIs introduced in Swift 4.2, covering basic generation, collections, and custom types.
A tutorial explaining the Adapter design pattern in Swift with a practical example of wrapping an EKEvent object.
A tutorial explaining the Dependency Injection design pattern in Swift, covering its basics, variations, and implementation for writing loosely coupled code.
A comprehensive tutorial on using Grand Central Dispatch (GCD) for multi-threading and concurrency in Swift programming.
A tutorial explaining the Swift delegate design pattern, including protocol definition, implementation, and memory management with weak references.
A Swift tutorial on creating a UICollectionView and its custom cell programmatically without using Interface Builder.
Explains closures and callbacks in Swift as foundational abstractions for handling asynchronous programming, using the 'turtles all the way down' metaphor.
A tutorial on using iOS Auto Layout anchors programmatically in Swift, covering best practices for creating constraints without Interface Builder.
Explores Swift's new @dynamicMemberLookup feature in Swift 4.2, discussing its use, potential pitfalls, and how to make dynamic calls explicit.