Coder Social home page Coder Social logo

swift-summary's Introduction

swift logo

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? ๐Ÿ˜„

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 ๐Ÿ‘ by creating pull requests and issues!
  • Share this project and make sure you and others give it a โญ

You can find me on

Web logo http://karmy.co

Twitter logo http://twitter.com/jkarmy

Karmy ๐Ÿ˜Ž

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.

swift-summary's People

Contributors

apatronl avatar bryant1410 avatar erginbilgin avatar jakarmy avatar r10-gchiong avatar radarhere avatar runhum avatar tonnylitao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.