This guide contains best practices for writing Swift. Guidance here comes from a combination of our collective practical experiences and documentation from Apple. This is meant to be a living document and all contents are perpetually open for debate and improvement.
Перейти к файлу
Chen Yang 6f4184934a
Add code organization convention (#26)
* Add guide on comments

* Add Casting convention

* Add code organization convention

* Renamed File Content Ordering to File Organization

Co-authored-by: Chen Yang <yangche@microsoft.com>
2021-08-05 11:02:52 -07:00
.github/ISSUE_TEMPLATE Add issue templates 2020-06-04 17:17:32 -07:00
.gitignore Include Contributing.md in config file (#4) 2020-06-08 13:00:33 -07:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-06-03 13:50:06 -07:00
CONTRIBUTING.md Update gem version (#7) 2020-10-01 14:07:17 -07:00
Comments.md Add Comments convention (#24) 2021-07-30 09:41:09 -07:00
Delegates.md Fixed syntax highlighting of the Swift code blocks 2020-06-05 16:17:20 -07:00
EarlyReturn.md Fixed syntax highlighting of the Swift code blocks 2020-06-05 16:17:20 -07:00
FileOrganization.md Add code organization convention (#26) 2021-08-05 11:02:52 -07:00
Gemfile Update gemfile to work with ruby 3.0 2021-01-14 15:42:13 -08:00
Gemfile.lock Bump addressable from 2.7.0 to 2.8.0 (#23) 2021-07-29 11:12:21 -07:00
Immutability.md Fixed syntax highlighting of the Swift code blocks 2020-06-05 16:17:20 -07:00
LICENSE Initial LICENSE commit 2020-06-03 13:50:08 -07:00
LICENSE-CODE Initial LICENSE-CODE commit 2020-06-03 13:50:07 -07:00
Naming.md Merging naming convention with Outlook swift guide's naming convention (#22) 2021-07-09 16:46:50 -07:00
PropertyObservers.md Fixed syntax highlighting of the Swift code blocks 2020-06-05 16:17:20 -07:00
README.md Add code organization convention (#26) 2021-08-05 11:02:52 -07:00
SECURITY.md Initial SECURITY.md commit 2020-06-03 13:50:09 -07:00
TypeCasting.md Add Type Casting Convention (#25) 2021-07-30 09:41:22 -07:00
TypeInference.md Fixed syntax highlighting of the Swift code blocks 2020-06-05 16:17:20 -07:00
_config.yml Include Contributing.md in config file (#4) 2020-06-08 13:00:33 -07:00

README.md

Introduction

The Swift coding conventions guide documents many best practices for writing Swift. Guidance here comes from a combination of our collective practical experiences and documentation from Apple. This is meant to be a living document and all contents are perpetually open for debate and improvement. For details on how to contribute, see the contribution guidelines.

Resources

Table of Contents

Legal Notices

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

Privacy information can be found at https://privacy.microsoft.com/en-us/

Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.