Using NS_REFINED_FOR_SWIFT
Explains how to use NS_REFINED_FOR_SWIFT to improve Swift interoperability with legacy Objective-C APIs that return NSInteger.
Explains how to use NS_REFINED_FOR_SWIFT to improve Swift interoperability with legacy Objective-C APIs that return NSInteger.
A tutorial on calling C code from Swift, covering bridging headers and Swift Package Manager integration for C libraries.
Tips for improving Objective-C code using Swift-inspired macros and techniques, focusing on type inference and modern syntax.
Needle v1.0.0 released with a new native Objective-C agent, adding iOS 10 support and replacing old dependencies.
Explores building a Swift library for real-time, live updates to iOS app UI and themes without recompilation, using Traits and runtime features.
A guide to disabling NSLog in iOS/macOS apps to reduce console noise from third-party libraries, with code examples in Swift and Objective-C.
Explains best practices for checking iOS versions in apps, highlighting pitfalls of old methods and recommending modern, reliable APIs.
Explains how to use Swift's @available attribute to mark methods as unavailable, with examples for subclassing and legacy code.
Explores bridging Swift's modern features with a large legacy Objective-C/C++ codebase, discussing practical integration strategies.
A guide to converting an Objective-C protocol that returns a protocol-conforming object into Swift, focusing on the use of typealias.
A guide to setting up Travis CI for automated testing of iOS, macOS, watchOS, and tvOS applications, including .travis.yml configuration examples.
A guide for developers transitioning from Objective-C to Swift, focusing on safety concepts like optionals and value semantics.
Explains the importance of making class dependencies explicit in software design to reduce surprises and improve code maintainability.
Xcode 7 beta 4 fixes @objc class prefixes, allowing proper namespacing for Swift classes used in Objective-C.
A guide to creating custom matchers in the Expecta testing library for Objective-C to improve test readability and maintainability.
Introduces Expecta, a matcher library for Objective-C that makes unit tests more readable and expressive, like English prose.
Explains how to use global beforeEach and afterEach hooks in the Specta testing library for Objective-C to manage test setup and teardown.
Explores issues with UITableViewController's designated initializers in iOS 8.3, detailing subclassing problems and workarounds.
A technical analysis of Apple's open-source ResearchKit framework, examining its source code, design patterns, and workarounds for iOS development challenges.
A guide to using the Specta framework for writing behavior-driven unit tests in iOS development, comparing it to XCTest.