Getting started with Swift language

Table of contents

  • About
  • Getting started with Swift Language
  • Remarks
  • Other Resources
  • Versions
  • Examples
  • Your first Swift program
  • Installing Swift
  • Your first program in Swift on a Mac (using a Playground)
  • Your first program in Swift Playgrounds app on iPad
  • Optional Value and Optional enum
  • (Unsafe) Buffer Pointers
  • Introduction
  • Remarks
  • Examples
  • UnsafeMutablePointer
  • Practical Use-Case for Buffer Pointers
  • Access Control
  • Syntax
  • Remarks
  • Examples
  • Basic Example using a Struct
  • Car.make (public)
  • Car.model (internal)
  • Car.otherName (fileprivate)
  • Car.fullName (private)
  • Subclassing Example
  • Getters and Setters Example
  • Advanced Operators
  • Examples
  • (Unsafe) Buffer Pointers
  • Advanced Operators
  • Algorithms with Swift
  • Associated Objects
  • Booleans
  • Classes
  • Completion Handler
  • Conditionals
  • Dependency Injection
  • Design Patterns - Structural
  • Documentation markup
  • Error Handling
  • Function as first class citizens in Swift
  • Functions
  • Generics
  • Initializers
  • Loops
  • Method Swizzling
  • Numbers
  • OptionSet
  • Performance
  • Reading & Writing JSON
  • RxSwift
  • Strings and Characters
  • Style Conventions
  • Swift HTTP server by Kitura
  • Switch
  • Tuples
  • Typealias
  • Working with C and Objective-C

It is a free Swift ebook created for beginners. The content is extracted from Stack Overflow pltaform, which is written by many Swift developers and contributors.

The content is released under Creative Commons BY-SA

Size3.26MB
File typepdf
Downloads129
Created2019-05-02
Cover of Getting started with Swift language
Preview PDF

Download

  • Raspberry Pi Projects Book

    Download free course Raspberry Pi Projects Book, pdf file on 204 pages by Wes Archer, David Crookes, PJ Evans, Gareth Halfacree, Rosie Hattersley, Nicola King, Ben Nuttall, Marc Scott, Danny Staple, Mark Vanstone....

  • Python Machine Learning Projects

    Download free course Python Machine Learning Projects, pdf file on 135 pages by Lisa Tagliaferri, Michelle Morales, Ellie Birkbeck, Alvin Wan....

  • Delphi Language Manual Guide

    This tutorial describes the Delphi language as it is used in Borland development tools. This book describes the Delphi language on both the Win32, and .NET development platforms....

  • Modern C

    This book teaches you to take your C programming skills to new heights, whether you're just starting out with C or have more extensive experience. Organized by level, this comprehensive guide lets you jump in where it suits you best while still reaping the maximum benefits....

  • Problem Solving with Algorithms and Data Structures Using Python

    This books is about computer science. It is also about Python. However, there is much more. The study of algorithms and data structures is central to understanding what computer science is all about. Learning computer science is not unlike learning any other type of difficult subject matter. The onl...

  • Network Programming with Go

    Dive into key topics in network architecture and Go, such as data serialization, application level protocols, character sets and encodings. This book covers network architecture and gives an overview of the Go language as a primer, covering the latest Go release....

  • JavaScript RegExp

    Download free course JavaScript RegExp, pdf file on 59 pages by Sundeep Agarwal....

  • Exploring .NET Core

    Download free course Exploring .NET Core, pdf file on 155 pages by Dustin Metzgar....

  • Essential Algorithms

    This book written to provide clear and concise explanation of topics for programmers both starting to learn the Algorithms as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it....

  • Exploring Swift

    Swift is more than just a modern replacement for Objective-C. Ever since going open source..., download free Swift tutorial in PDF (94 pages) created by ....