Swift Programming Tutorial

Download free Swift tutorial course in PDF, training file in 60 chapters and 291 pages. Free unaffiliated ebook created from Stack OverFlow contributor.

Table of contents

  • About
  • Getting started with Swift Language
  • Your ?rst Swift program
  • Your ?rst program in Swift on a Mac (using a Playground)
  • Your ?rst program in Swift Playgrounds app on iPad
  • Installing Swift
  • Optional Value and Optional enum
  • Variables & Properties
  • Creating a Variable
  • Property Observers
  • Lazy Stored Properties
  • Property Basics
  • Computed Properties
  • Local and Global Variables
  • Type Properties
  • Numbers
  • Number types and literals
  • Convert numbers to/from strings
  • Rounding
  • Random number generation
  • Convert one numeric type to another
  • Exponentiation
  • Strings and Characters
  • String & Character Literals
  • Concatenate strings
  • String Encoding and Decomposition
  • Examine and compare strings
  • Reversing Strings
  • Check if String contains Characters from a De?ned Set
  • String Iteration
  • Splitting a String into an Array
  • Unicode
  • Converting Swift string to a number type
  • Convert String to and from Data / NSData
  • Formatting Strings
  • Uppercase and Lowercase Strings
  • Remove characters from a string not de?ned in Set
  • Count occurrences of a Character into a String
  • Remove leading and trailing WhiteSpace and NewLine
  • Booleans
  • What is Bool?
  • Booleans and Inline Conditionals
  • Boolean Logical Operators
  • Negate a Bool with the pre?x ! operator
  • Arrays
  • Basics of Arrays
  • Extracting values of a given type from an Array with ?atMap(_:)
  • Variables & Properties
  • Strings and Characters
  • Arrays
  • Enums
  • Sets
  • Switch
  • Conditionals
  • Loops
  • Functions
  • Classes
  • Generics
  • Reading & Writing JSON
  • Method Swizzling
  • Access Control
  • Initializers
  • Concurrency
  • Functional Programming in Swift
  • Blocks
  • Style Conventions
  • RxSwift
  • Working with C and Objective-C
  • Typealias
  • Caching on disk space
  • Swift Advance functions
  • Swift HTTP server by Kitura
  • Design Patterns - Creational
  • (Unsafe) Buffer Pointers
  • AES encryption
  • Logging in Swift
  • Performance

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

Size : 2.7 MB
File type : pdf
Downloads: 133
Created: 2019-04-30

Others Swift Tutorials

Getting started with Swift language

Exploring Swift

Essential Swift

Others related eBooks about Swift Programming Tutorial

Programming for Computations - Python: A Gentle Introduction to Numerical Simulations with Python

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more...

Hands-on Python Tutorial

Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. The language provides constructs intended to enable...

Programming Fundamentals: A Modular Structured Approach Using C++

This book is an introduction to computer programming using C++ as the language for writing programmes, and to solid, fundamental programming principles - including writing structured programmes, looping, data structures and iteration. ...

Android on x86: An Introduction to Optimizing for Intel Architecture

This book is a one-stop reference guide to mindful programming and the unique challenges and opportunities that arise from x86 architectures. It compiles the best practices and procedures associated with application development for devices using Intel's popular line of microprocessors....

Learning React Native

React Native is an open-source mobile application framework created by Facebook. It is an ..., download free React Native tutorial in PDF (101 pages) created by ....

Cookbook for R: Best R Programming TIPs

The goal of this cookbook is to provide solutions to common tasks and problems in analyzing data. Each recipe tackles a specific problem with a solution you can apply to your own project, and includes a discussion of how and why the recipe works....

Think C++

Download free course Think C++, pdf file on 191 pages by Allen Downey....

VB.NET a complet tutorial for beginners

The purpose of this course is to provide a basic guide for student or people interested in Visual Basic dot net programming,it's a free training document for beginners....

An Introduction to C & GUI Programming

Even if you are an absolute beginner, this book will teach you all you need to know to wri..., download free C Programming tutorial in PDF (156 pages) created by Simon Long ....

Assembly language tutorial in PDF

Download free Assembly language tutorial course in PDF, training file in 6 chapters and 29 pages. Free unaffiliated ebook created from Stack OverFlow contributor....