SlideShare a Scribd company logo
Swift Coding Style
by Akira Hirakawa, Burpple
github.com/akirahrkw
Team Dev?
Rules?
Conventions?
our story is…
(early this year)
• I was the only iOS engineer in our team
• I also needed to do server side
• We use Swift for new Classes
• We were planning to work with 1~2 engineers
from Silicon Straits Saigon
• 60%: server side, 40% iOS (kind of PM role)
but
our concerns are…
• We haven’t met the engineers
• We haven’t communicated well
• We don’t know how they code
• We haven’t used outsourcing before
What we want …
• readable code
• extendable code
• standardised code
• minimise the time of PM
Swift is flexible
if no rules
!!!Chaos!!!
Style and Conventions Guide!!
github.com/burpple/swift-style-guide
but
We are lazy!!
We need automation!!
github.com/realm/SwiftLint
SwiftLint
• enforces Swift style and conventions
• hooks SourceKit to use AST of your code
contributing
Demo
• We are improving our coding guide
• Automation is better than manual
• if you like, please give us your feedback
Thanks:)
https://github.com/burpple/swift-style-guide
https://github.com/realm/SwiftLint
Q?

More Related Content

PPTX
Love your API with Swagger (Gluecon lightning talk)
PDF
Challenges of moving a java team to scala
PPTX
SharePoint Saturday Twin Cities - SharePoint Framework, Angular & Azure Funct...
PPTX
SharePoint Fest DC - SharePoint Framework, Angular and Azure Functions
PPTX
SharePoint Saturday Vancouver - SharePoint Framework, Angular and Azure Funct...
PDF
Quick Intro Into Kanban
PDF
VRでユニティちゃんになる話+おまけ @ Japan VR Fest.
PPTX
Swagger APIs for Humans and Robots (Gluecon)
Love your API with Swagger (Gluecon lightning talk)
Challenges of moving a java team to scala
SharePoint Saturday Twin Cities - SharePoint Framework, Angular & Azure Funct...
SharePoint Fest DC - SharePoint Framework, Angular and Azure Functions
SharePoint Saturday Vancouver - SharePoint Framework, Angular and Azure Funct...
Quick Intro Into Kanban
VRでユニティちゃんになる話+おまけ @ Japan VR Fest.
Swagger APIs for Humans and Robots (Gluecon)

Similar to Swift Coding Style (20)

PPTX
Saas rad with django, django rest framework
PDF
Communication tool & Environment for Remote Worker
PDF
MongoDB World 2018: A Swift Introduction to Swift
PDF
Intro to Crystal Programming Language
PDF
Why I will never write JavaScript ever again*
PDF
Agile Apps with App Engine
PDF
Metaprogramming Go
PDF
Lessons learned: Choosing your documentation system
PPTX
Style Is Cool
PDF
SACon 2019 - Surviving in a Microservices Environment
PDF
Fastest to Mobile with Scalatra + Swagger
PDF
Three pillars of components in the design system
KEY
Torquebox rubyhoedown-2012
PPTX
Coding Standard And Code Review
PPTX
Ionic intro + tips
PDF
Building Faster With Your Team's UI Kit
PDF
Turbo theming: Introduction to Sass & Compass
ODP
PPTX
Build testable react app
PDF
Orthogonality: A Strategy for Reusable Code
Saas rad with django, django rest framework
Communication tool & Environment for Remote Worker
MongoDB World 2018: A Swift Introduction to Swift
Intro to Crystal Programming Language
Why I will never write JavaScript ever again*
Agile Apps with App Engine
Metaprogramming Go
Lessons learned: Choosing your documentation system
Style Is Cool
SACon 2019 - Surviving in a Microservices Environment
Fastest to Mobile with Scalatra + Swagger
Three pillars of components in the design system
Torquebox rubyhoedown-2012
Coding Standard And Code Review
Ionic intro + tips
Building Faster With Your Team's UI Kit
Turbo theming: Introduction to Sass & Compass
Build testable react app
Orthogonality: A Strategy for Reusable Code
Ad

More from Hirakawa Akira (7)

PDF
Function, Class
PDF
Swift Basics
PDF
Class vs struct for Swift
PDF
Generics With Swift
PDF
5 random ruby tips
PDF
QXCameraKit
PDF
東南アジアでエンジニア
Function, Class
Swift Basics
Class vs struct for Swift
Generics With Swift
5 random ruby tips
QXCameraKit
東南アジアでエンジニア
Ad

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
PDF
KodekX | Application Modernization Development
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Empathic Computing: Creating Shared Understanding
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
NewMind AI Weekly Chronicles - August'25 Week I
MIND Revenue Release Quarter 2 2025 Press Release
“AI and Expert System Decision Support & Business Intelligence Systems”
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
Network Security Unit 5.pdf for BCA BBA.
MYSQL Presentation for SQL database connectivity
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.
KodekX | Application Modernization Development
Chapter 3 Spatial Domain Image Processing.pdf
cuic standard and advanced reporting.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

Swift Coding Style