Volver al ranking

jakarmy/swift-summary

Swift

A summary of Apple's Swift language written on Playgrounds

swift-languageswift-summaryappleplaygroundapple-documentationxcodeplaygrounds-platformplaygroundsswift
Crecimiento de estrellas
Estrellas
1.7k
Forks
127
Crecimiento semanal
Issues
3
1.2k1.4k1.6k
abr 2016sept 2019feb 2023jul 2026
README

Platform Swift Software

The Swift Summary Book

A summary of Apple's Swift language written on Playgrounds.

Why this summary?

Apple's documentation is great for learning Swift, but who's got the time to read all that? :smile:

This summary cuts to the chase. It is directly written on the Playgrounds platform, which makes it very interactive. You can tinker around with it as much as you like!

Inside the Box

Once you've downloaded or cloned the repository and you open it with Xcode, you'll find most of the chapters from Apple's documentation, plus a Resources folder that contains extra material. The numbering in each chapter is consistent with Apple's. Chapters with a strikethrough have not been added to the book yet as being considered unimportant. More specifically, you'll find:

Chapters

  1. The Basics
  2. Basic Operators
  3. Strings and Characters
  4. Collection Types
  5. Control Flow
  6. Functions
  7. Closures
  8. Enumerations
  9. Classes & Structs
  10. Properties
  11. Methods
  12. Subscripts
  13. Inheritance
  14. Initialization
  15. Deinitialization
  16. ARC
  17. Optional Chaining
  18. Error Handling
  19. Type Casting
  20. Nested Types
  21. Extensions
  22. Protocols
  23. Generics
  24. Access Control

Resources

  • Higher Order Functions

How should I install this?

Getting started with The Swift Summary Book is a piece of 🎂:

  1. Just clone or download the repository.
  2. You need to have Xcode v8.0 or above. You can download it here.
  3. Open the .swift file with Xcode and voilà!

What are the features?

The Swift Summary Book takes advantage of the Playground platform and many of its powerful capabilities:

  • The book is made of a single file that contains all chapters inside, which allows for easy access.
  • Chapters use the Playground Markup Language, which brings rich documentation to the code examples.
  • Every chapter has Page Linking, which allows to go back and forth from one chapter to the next, previous or another that was mentioned with in the chapter.

Keep in mind

The Swift language is still under rapid development, which means that the documentation is changing all the time, and some sections might break at a given time.

You can help too!

  • Help me keep this summary :+1: by creating pull requests and issues!
  • Share this project and make sure you and others give it a ⭐

You can find me on

  • 🐦 twitter: @jkarmy.
  • ☕️ If you like the open-source work I do, consider buying me a coffee so I can stay awake and keep typing away!

License

The MIT License (MIT)

Copyright (c) 2016 Juan Antonio Karmy

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Repositorios relacionados
vsouza/awesome-ios

A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects

SwiftMIT Licenseawesomeswift-library
awesomeios.dev
52.8k7k
matteocrippa/awesome-swift

A collaborative list of awesome Swift libraries and resources. Feel free to contribute!

RubyRubyGemsCreative Commons Zero v1.0 Universalswift-frameworkswift-library
26.2k3.1k
Tim9Liu9/TimLiu-iOS

iOS开发常用三方库、插件、知名博客等等

GNU General Public License v3.0swift-libraryswift-extensions
11.7k3.8k
kickstarter/ios-oss

Kickstarter for iOS. Bring new ideas to life, anywhere.

SwiftApache License 2.0reactivecocoareactiveswift
kickstarter.com/mobile
8.7k1.2k
bizz84/SwiftyStoreKit

Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺

SwiftMIT Licenseswift-languageios
6.7k806
Wolg/awesome-swift

A curated list of awesome Swift frameworks, libraries and software.

swift-languageswift
5.9k531
JakeLin/SwiftLanguageWeather

Swift Language Weather is an iOS weather app developed in Swift 4.

SwiftMIT Licenseswift-languageswift-weather
5.2k1.2k
uraimo/Awesome-Swift-Playgrounds

A List of Awesome Swift Playgrounds

SwiftOtherswift-playgroundslearning-swift
4.4k343
ankurp/Dollar

A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript

SwiftMIT Licenseswiftdollar
dollarswift.org
4.2k362
Lax/Learn-iOS-Swift-by-Examples

精心收集并分类整理的Swift开发学习资源,包括Apple官方提供的示例代码和文档,以及github上的项目和国内外开发者的技术博客。欢迎提交pull-request一起维护。https://t.me/SwiftCN QQ交流群 32958950 申请请注明开发经验

Swiftswift-languageswift-programming
lax.github.com/SwiftBeginnersGuide/
3.8k856
iOS-Swift-Developers/Swift

🥇Swift基础知识大全,🚀Swift学习从简单到复杂,不断地完善与更新, 欢迎Star❤️,欢迎Fork, iOS开发者交流:①群:446310206 ②群:426087546

CMIT Licenseswiftswift3
blog.csdn.net/qq_31810357
1.9k482
jogendra/example-ios-apps

 A curated list of Open Source example iOS apps developed in Swift. An amazing list for people who are beginners and learning ios development and for ios developers who need any example app or feature.

SwiftMIT Licenseiosios-app
jogendra.github.io
1.4k272