Hey iOS developers! 👋
Even with the built-in style tools in Xcode, we sometimes need additional rules to make our code more readable and maintainable. Today’s Curated iOS issue focuses on Swift Code Style Guides.
Airbnb Swift Style Guide
One of the most popular and well known Swift style guides is maintained by Airbnb.
Check on GitHub
Google Swift Style Guide
Google’s Swift style guide covers various aspects of good code writing, from file naming conventions to best programming practices.
Read on GitHub
Swift API Design Guidelines
These official guidelines provide documentation on writing Swift code with proper naming conventions and idioms that align with the broader Swift ecosystem.
Read on Swift.org
Quick and Easy iOS Coding Style Guide for Beginners
Following code style guides can be challenging for iOS development beginners. This quick read can help you grasp the most important concepts.
Read on Medium
Ultimate Swift Code Style Guidelines
Check out this independent style guide maintained by Nikita Lazarev-Zubov.
Read on GitHub
Install SwiftLint via SPM
SwiftLint is a tool for enforcing Swift style and conventions. This video tutorial will help you install SwiftLint via Swift Package Manager and demonstrate how to fix code styling issues.
Watch on YouTube
Until next time!
Artjoms
Discussion about this post
No posts