A collection of Swift tips and tricks shared on Twitter, covering async testing, dependency injection, Codable, and more.
SwiftTips is a curated collection of concise Swift programming tips and tricks originally shared on Twitter by John Sundell. It serves as a resource for iOS and macOS developers to improve their Swift code with practical examples and modern techniques, covering topics like async testing, dependency injection, and protocol specialization. The project emphasizes writing self-documenting, expressive, and testable code by leveraging Swift's type system.
iOS and macOS developers looking to improve their Swift programming skills with practical, modern techniques. It's particularly useful for developers working on testable codebases, UI testing, and leveraging Swift's advanced features like Codable, protocols, and value types.
Developers choose SwiftTips for its curated, tweet-sized examples that demonstrate real-world applications of Swift features, directly from an experienced community member. It offers a concentrated resource of tips that are immediately applicable, saving time compared to searching through scattered blog posts or documentation.
A collection of Swift tips & tricks that I've shared on Twitter
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Each tip includes concise code snippets linked to original tweets, providing immediate, real-world applications for Swift features like async testing and dependency injection, as seen in tips #102 and #99.
Authored by John Sundell, a respected Swift community figure, the tips offer proven techniques for writing testable, expressive code, leveraging Swift's type system and modern patterns.
Covers diverse areas from UI testing stability to protocol specialization, with over 100 tips that address common pain points in iOS/macOS development, as listed in the table of contents.
The README explicitly warns that the list is no longer updated, so tips may not reflect current Swift versions (e.g., Swift Concurrency) or evolving best practices, limiting relevance for new projects.
As a static GitHub repository without active maintenance, it lacks community contributions, bug fixes, or interactive elements like code sandboxes, making it a passive learning resource.
Due to the tweet-sized format, explanations are brief and often assume prior knowledge, requiring additional research for complex topics like conditional conformances or advanced generics.