Skip to content

Instantly share code, notes, and snippets.

@keithjiff
keithjiff / eure_swift_style_guide.md
Created August 7, 2017 21:35
Eure Swift Style Guide

eureka

Swift Style Guide

English | 日本語

This style guide is a product of our iOS team's more than a year writing, reviewing, and testing Swift code. It reflects the coding rules we have observed as "efficient" in our production apps.

The guidelines here try to accomplish/encourage practices that accomplish the following goals:

  • to make it hard to write programmer errors, or at least make them hard to miss
@keithjiff
keithjiff / github_swift_style_guide.md
Created August 7, 2017 21:34
GitHub Swift Style Guide

A guide to our Swift style and conventions.

This is an attempt to encourage patterns that accomplish the following goals (in rough priority order):

  1. Increased rigor, and decreased likelihood of programmer error
  2. Increased clarity of intent
  3. Reduced verbosity
  4. Fewer debates about aesthetics
@keithjiff
keithjiff / ray_w_swift_style_guide.md
Created August 7, 2017 21:32
Ray Wenderlich Swift Style Guide

The Official raywenderlich.com Swift Style Guide.

Updated for Swift 3

This style guide is different from others you may see, because the focus is centered on readability for print and the web. We created this style guide to keep the code in our books, tutorials, and starter kits nice and consistent — even though we have many different authors working on the books.

Our overarching goals are clarity, consistency and brevity, in that order.

Table of Contents