《Swift Apprentice: Beyond the Basics (First Edition)》内容简介
Kodeco Team、Ehab Yosry Amer、Matt Galloway、Eli Ganim / Kodeco Inc. / 2023-6-6 / USD 59.99 - - Learn How to Program with Swift 5.8!
Swift is the best way to develop on Apple’s platforms: iOS, iPadOS, macOS, watchOS and tvOS. In this book, you’ll continue where you left off in Swift Apprentice: Fundamentals and use playgrounds to explore powerful features of the language. As before, everything you’ll learn is platform-neutral; you’ll gain a deeper understanding of various Swift language features that will help you write better code.
Who This Book Is For:
This book is for individuals that have gone through The Swift Apprentice: Fundamentals or its equivalent and want to take advantage of more advanced language features.
Topics Covered in The Swift Apprentice: Beyond the Basics
Access Control, Code Organization, Testing: Prepare your code to be used by a wider audience with these essential tools and techniques.
Custom Operators: Learn how to encapsulate complex behavior in an expressive syntax that can improve the readability of your code.
Result Builders: Build declarative DSLs that efficiently generate complex data structures from simple sequential code blocks.
Serialization: Learn how to convert complex data structures into a format that can be stored and transmitted to enable persistence.
Memory Management: Discover how to maintain object graphs in Swift and prevent the common causes of memory leaks.
Value Semantics: Learn why value semantics is a tentpole feature of the Swift language and how to imbue your types with value semantics.
Property Wrappers: Explore this declarative way to enforce behavior on properties improving your code consistency, readability and correctness.
Protocols & Generics: Learn about existential, type erasure, primarily associated types and more.
Concurrency: Understand the fundamentals of async/await and using actors.
After reading this book and completing the included exercises and challenges, you’ll better understand the tools and language features Swift uses to solve problems! You'll lev