Название: Swift Apprentice (5th Edition) Автор: Ehab Amer, Alexis Gallagher, Matt Galloway, Eli Ganim Издательство: Razeware LLC Год: 2019 Страниц: 491 Язык: английский Формат: pdf (true), epub Размер: 27.1 MB
Welcome to the Swift Apprentice, fully updated for Xcode 11 and Swift 5.1!
In the last five years, Swift has gone from being a secret project at Apple, Inc. to a full-blown, open source, community driven language. It continues to refine its core goal of being a general purpose language that supports safety, speed and expressiveness. Despite its advanced, industrial-strength nature, Swift is a great choice for the beginning programmer, since Xcode offers a sandbox-type environment where you can directly execute Swift statements to try out various components of the language — without having to create a whole app first.
Developers around the world use Swift to build thousands of amazing apps for iOS, iPadOS, macOS, tvOS and watchOS. Swift is also being used as a server side technology on non-Apple platforms. That means what you learn in this book will be extremely useful as you expand your development skills and possibly work as a developer someday.
You’ll learn about basic things like constants, values, operations and types, and move up to more intermediate concepts like data structures, classes and enumerations. Finally, you’ll finish off by getting in-depth knowledge about protocol extensions, custom operators, protocol-oriented programming and generics. Swift lets you create beautiful abstractions to solve real-world problems that you will learn about in this book.
Swift is also a lot of fun! It’s easy to try out small snippets of code as you test new ideas. Programming is a hands-on experience, and Swift makes it fast and easy to both follow along with this book, as well as explore on your own.
Who this book is for: If you’re a complete beginner to programming, this is the book for you! There are short exercises and challenges throughout the book to give you some programming practice and test your knowledge along the way.