Beginning Swift Programming
- 3h 5m
- Wei-Meng Lee
- John Wiley & Sons (US)
- 2015
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.
About the Author
Wei-Meng Lee is a technologist and founder of Developer Learning Solutions (learn2develop.net), a technology company specializing in hands-on training on the latest mobile technologies. He is an established developer and trainer specializing in .NET, iOS, and Android.
Wei-Meng speaks regularly at international conferences and has authored and co-authored numerous books on .NET, XML, and mobile technologies. He writes extensively for the O’Reilly Network and Mobiforge.com on topics ranging from .NET to Mac OS X. He is also the author of Beginning iOS 5 Application Development and Beginning Android 4 Application Development, both from Wrox.
In this Book
-
Introduction
-
Introduction to Swift
-
Data Types
-
Strings and Characters
-
Basic Operators
-
Functions
-
Collections
-
Control Flow and Looping
-
Structures and Classes
-
Inheritance
-
Closures
-
Protocols and Delegates
-
Generics