Master Swift and start building interactive, fun, and fast iOS and OS X apps.
Discover, master, and build with Swift, Apple's new programming language for iOS and OS X(r) development. This step-by-step beginner's guide has what you need to start building dynamic Mac and iPhone apps. Veteran developer and technology trainer Wei-Meng Lee shares real-world examples, deciphers little-known features, and reveals the advantages of Swift, including increased app speed and safety. Through programmer-to-programmer real-world instruction, you'll discover good programming style and methodologies that will increase the quality of your apps and have you up and running in no time.
Beginning Swift Programming:
* Provides real-world, expert instruction for creating iPhone(r) and Mac(r) apps using Swift
* Helps you take advantage of Swift's fast, secure, and flexible built-in features
* Includes detailed code examples
* Offers a complete overview of data types, strings and characters, operators and functions, arrays, dictionaries, and more
* Examines control flow and looping, classes and objects, class inheritance, protocols and delegates, generics, and closures
* Demonstrates the benefits of building apps with Swift
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Read More
Find articles, e-books, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Enter the Swift future of iOS and OS X programming
Beginning Swift Programming is your ideal starting point for creating Mac, iPhone, and iPad apps using Apple's new Swift programming language. Written by an experienced Apple developer and trainer, this comprehensive guide explains everything you need to know to jumpstart the creation of your app idea. Coverage includes data types, strings and characters, operators and functions, arrays and dictionaries, control flow, and looping, with expert guidance on classes, objects, class inheritance, closures, protocols, and generics. This succinct -- yet complete -- overview provides a detailed introduction to the core features of Swift.
Apple developed Swift to address the limitations of Objective-C, and add features found in more complex languages like Python. The results is simpler, cleaner, more expressive code with automatic memory management, functional programming patterns, and more, including built-in features that make Swift apps faster, scalable, and more secure. This book explains it all, helping developers master Apple's new language.
* Become fluent with syntax that's easier to read and maintain
* Understand inferred types for cleaner, less mistake-prone code
* Learn the key features that make Swift more expressive than Objective-C
* Learn the new optional types in Swift that make your code more resilient
* Understand the key design patterns in iOS and Mac OS programming using protocols and delegates
* Learn how to use generics to create highly reusable code
* Learn the new access controls mechanism in Swift
Get up to speed quickly to remain relevant and ahead of the curve.
Wei-Meng Lee
Apple Computer Science Informatik Programmierung Programmierung u. Software-Entwicklung Programming & Software Development Swift