@objc creates a wrong class name in Objective-C
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.
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.
Discusses the importance of unit testing in Swift to avoid writing legacy code, inspired by Michael Feathers' definition of legacy code as code without tests.
Article argues that Swift code without tests becomes legacy code, emphasizing the importance of unit testing for code quality.
Learn how to use Swift extensions to make any type conform to a protocol, even without access to its source code.
Learn how to use Swift extensions to make any type conform to a protocol, even without source code access.
A cheat sheet for iOS developers listing common UITableViewDataSource protocol methods with code stubs.
A cheat sheet for iOS developers covering common UITableViewDataSource protocol methods with Swift code stubs.
How to distinguish between multiple UIActionSheets in Swift using tags and enumerations for cleaner code.
How to distinguish between multiple UIActionSheets in a single Swift view controller using tags and enums.
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.
An overview of Swift extensions using the 5 W's: who, what, when, where, and why, for adding functionality to existing types.
An overview of Swift extensions using the 5 W's: who, what, when, where, and why, aimed at iOS developers.
Tutorial on using MFMessageComposeViewController in Swift to send text messages in-app, with clean code architecture.
A tutorial on sending text messages in-app using MFMessageComposeViewController with Swift, following a clean architecture pattern.
Article encourages Swift developers to write about Swift, citing benefits like community growth, personal learning, and sharing unique knowledge.
A persuasive article encouraging Swift developers to write about the language, highlighting benefits like community growth and personal understanding.
Introducing Playgrounds for Objective-C, enabling real-time code testing and rapid prototyping similar to Swift's feature.
Explains the Swift compiler error 'Variable used within its own initial value' when using recursive closures, with solutions.
Explains the Swift compiler error 'Variable used within its own initial value' when defining recursive closures, with solutions.