Learning Swift Programming Год: 2015 Автор: Jacob Schatz Жанр: Программирование Издательство: Addison-Wesley Professional ISBN: 978-0133950403 Язык: Английский Формат: PDF Качество: Изначально компьютерное (eBook) (converted) Интерактивное оглавление: Да Количество страниц: 300 Описание: Get started fast with Swift programming for iOS and OS X Learning Swift Programming is a fast-paced, hands-on introduction to writing production-quality iOS and OS X apps with Apple’s new programming language. Written for developers with previous experience in any other modern language, this book explains Swift simply and clearly, using relevant examples that solve realistic problems. Author Jacob Schatz’s popular Skip Wilson video tutorials on YouTube have already helped thousands of Apple developers get started with Swift. Now, he helps you take full advantage of Swift’s advanced design, remarkable performance, and streamlined development techniques. Step-by-step, you’ll move from basic syntax through advanced features such as closures and generics–discovering helpful tips and tricks along the way. After you’ve mastered Swift’s building blocks and learned about its key innovations, a full section of case studies walks you through building complete apps from scratch. - Compare Swift with Objective-C, JavaScript, Python, Ruby, and C - Collect data with arrays and dictionaries, and store it with variables and constants - Group commonly-used code into functions for easy reuse - Structure your code with enums, structs, and classes - Use generics to get more done with less code - Write closures to share small blocks of functionality - Use optionals to write more robust, crash-resistant, and cleaner code - Integrate existing Objective-C code into new Swift apps - Program on the bit and byte level with advanced operators - Implement efficient design patterns with protocols and delegates - Create animated 2D games with SpriteKit, and 3D games with SceneKit
Примеры страниц
Оглавление
Contents at a Glance Introduction 1 Getting Your Feet Wet 2 Collecting Data 3 Making Things Happen: Functions 4 Structuring Code: Enums, Structs, and Classes 5 Making a Game 6 Reusable Code: Closures 7 Subscripts and Advanced Operators 8 Protocols 9 Becoming Flexible with Generics 10 Games with SpriteKit 11 Games with SceneKit 12 Apps with UIKit Index
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum