Swift Design Patterns Swift Design Patterns
Hacking with Swift

Swift Design Patterns

Learn smart, idiomatic ways to design great Swift apps

    • 39,99 лв.
    • 39,99 лв.

Publisher Description

Learn smart, idiomatic techniques to design great Swift apps, from using MVC effectively through to MVVM, delegation, protocols, and more.


All platforms: This book teaches patterns you can use whether you work on iOS, macOS, watchOS, or any other platform that uses Swift.


Swift 5.0: Don't waste time with out of date tutorials – here you can learn powerful, expressive Swift the way it was meant to be written.


Hands on: All patterns come with practical, real-world code examples so you can see why they are useful and apply them in your own work.


Full coverage: Over 20 design patterns are covered in detail, so you can try them all and find what works best for your own projects.


Swift Design Patterns will teach you how to write cleaner, more maintainable apps. Drawing examples from Cocoa, Cocoa Touch, and other key Apple frameworks, you'll learn how to design elegant apps that are easier to read, easier to scale, and easier to test.


The book includes over 20 of the most important design patterns for Swift developers, including:


- The model-view-controller pattern that lies at the heart of all Apple platforms, plus MVVM as a viable alternative.


- Extensions, protocols, and protocol extensions that let you architect your code horizontally.


- Notifications, selectors, and the target/action pattern to control code without increasing coupling.


- Observers, accessors, keypaths, and delegation so you can monitor values and respond when they change.


- Archiving data using the Codable protocol.


- Singletons for working with shared resources.


- And more!


If want to improve the way you architect your Swift apps, this is the book for you.

  • GENRE
    Computing & Internet
    RELEASED
    2018
    25 January
    LANGUAGE
    EN
    English
    LENGTH
    271
    Pages
    PUBLISHER
    Paul Hudson
    SIZE
    2.3
    MB

    More Books by Paul Hudson

    Advanced iOS: Volume Two Advanced iOS: Volume Two
    2017
    Server-Side Swift: Vapor Edition Server-Side Swift: Vapor Edition
    2017
    Hacking with macOS Hacking with macOS
    2016
    Objective-C for Swift Developers Objective-C for Swift Developers
    2016
    Hacking with watchOS Hacking with watchOS
    2017
    Server-Side Swift Server-Side Swift
    2016

    Customers Also Bought

    Design Patterns in Swift 5 Design Patterns in Swift 5
    2019
    Introduction to Algorithms and Data Structures in Swift 4 Introduction to Algorithms and Data Structures in Swift 4
    2018
    Swift Documentation Markup Swift Documentation Markup
    2015
    SwiftUI for Masterminds SwiftUI for Masterminds
    2020
    Basics of AppleScript Basics of AppleScript
    2014
    Bash Command Line Pro Tips Bash Command Line Pro Tips
    2014

    Other Books in This Series

    Advanced iOS: Volume Two Advanced iOS: Volume Two
    2017
    Server-Side Swift: Vapor Edition Server-Side Swift: Vapor Edition
    2017
    Hacking with macOS Hacking with macOS
    2016
    Objective-C for Swift Developers Objective-C for Swift Developers
    2016
    Hacking with watchOS Hacking with watchOS
    2017
    Server-Side Swift Server-Side Swift
    2016