Advanced Swift

Advanced Swift

1 review
Published by objc.io
Published Mar, 2016
ISBN 10 1523831715
ISBN 13 9781523831715
Pages 362
QR code for Advanced Swift

Description of Advanced Swift

Advanced Swift takes you through Swift’s features, from low-level programming to high-level abstractions.
In this book, we’ll write about advanced concepts in Swift programming. If you have read the Swift Programming Guide, and want to explore more, this book is for you.
Swift is a great language for systems programming, but also lends itself for very high-level programming. We’ll explore both high-level topics (for example, programming with generics and protocols), as well as low-level topics (for example, wrapping a C library and string internals).

WHAT’LL BE IN THE BOOK




  • Collections: How to use Swift’s built-in collection types and how to build your own


  • Optionals: Improve the safety and clarity of your code


  • Generics: Write functions and methods that work on multiple types


  • Protocols: Use protocols to simplify your code


  • Strings: How to use strings and how they work with unicode.


  • Mutability: Swift offers powerful features for dealing with mutability


  • Memory Management: Learn how value types and reference types interact


  • Error Handling: Understand Swift’s built-in error handling


  • Interoperability: Wrap calls to C libraries and present them in Swift using a natural API


Table of Contents


Chapter 1 Foreword
Chapter 2 Introduction
Chapter 3 Collections
Chapter 4 Optionals
Chapter 5 Structs and Classes
Chapter 6 Functions
Chapter 7 Strings
Chapter 8 Error Handling
Chapter 9 Generics
Chapter 10 Protocols
Chapter 11 Hands-On: Wrapping CommonMark
Chapter 12 Advanced Interoperability

Related Books

Design+Code: Learn iOS design and Xcode

Design+Code: Learn iOS design and Xcode

The iOS Apprentice, 3rd Edition

The iOS Apprentice, 3rd Edition

watchOS 2 by Tutorials: Making Apple Watch apps with watchOS 2 and Swift 2

watchOS 2 by Tutorials: Making Apple Watch apps with watchOS 2 and Swift 2

Discover Sketch App: A step by step guide to using Sketch

Discover Sketch App: A step by step guide to using Sketch

Intermediate iOS Programming with Swift

Intermediate iOS Programming with Swift

Swift by Tutorials: A Hands-On Approach

Swift by Tutorials: A Hands-On Approach