Have a personal or library account? Click to login
Mastering Swift Cover

Mastering Swift

Mastering Swift

Paid access
|Sep 2025
Product purchase options

Key Features

    Book Description

    If you are a developer that learns best by looking at, and working with, code, then this book is for you. A basic understanding of Apple's tools is beneficial but not mandatory.

    What you will learn

    • Prototype and test code in a Playground
    • Understand the basics of Swift, including operators, collections, control flows, and functions
    • Create and use Classes, Structures, and Enums, including objectoriented topics such as inheritance, protocols, and Extensions
    • Dwell into Subscripts, Optionals, and closures with realworld scenarios
    • Employ Grand Central Dispatch to add concurrency to your applications
    • Study the ObjectiveC interoperability with mix and match
    • Access network resources using Swift
    • Implement various standard design patterns in the Swift language

    Who this book is for

    Table of Contents

    1. Taking First steps with Swift
    2. Learning Variables, Constants, Strings and Operators
    3. Using Collections and Cocoa Data Types
    4. Learning Control Flow, Function, Classes and Access Controls
    5. Advanced Classes and ARC
    6. Working with XML and JSON data
    7. Using subscripts
    8. Optional chaining
    9. All about Generics
    10. Using Closures
    11. Using Mix and Match
    12. Learning Concurrency
    13. Swift formatting and Style Guide
    14. Networking with Swift
    15. Adopting Design Patterns with Swift
    PDF ISBN: 978-1-78439-327-4
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 358