Book description
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.
Table of contents
- INTRODUCTION
- CHAPTER 1 INTRODUCTION TO SWIFT
- CHAPTER 2 DATA TYPES
- CHAPTER 3 STRINGS AND CHARACTERS
- CHAPTER 4 BASIC OPERATORS
- CHAPTER 5 FUNCTIONS
- CHAPTER 6 COLLECTIONS
- CHAPTER 7 CONTROL FLOW AND LOOPING
- CHAPTER 8 STRUCTURES AND CLASSES
- CHAPTER 9 INHERITANCE
- CHAPTER 10 CLOSURES
- CHAPTER 11 PROTOCOLS AND DELEGATES
- CHAPTER 12 GENERICS
- APPENDIX EXERCISE ANSWERS
- TITLEPAGE
- COPYRIGHT
- DEDICATION
- ABOUT THE AUTHOR
- ABOUT THE TECHNICAL EDITOR
- CREDITS
- ACKNOWLEDGMENTS
- ADVERT
- END USER LICENSE AGREEMENT
Product information
- Title: Beginning Swift Programming
- Author(s):
- Release date: December 2014
- Publisher(s): Wrox
- ISBN: 9781119009313
You might also like
book
Swift in Depth
Swift in Depth guides you concept by concept through the skills you need to build professional …
book
The Time Cleanse: A Proven System to Eliminate Wasted Time, Realize Your Full Potential, and Reinvest in What Matters Most
Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, …
book
You, Only Better
If you want to be happy, fulfilled and energised its probably best not to obsess over …
book
Modern Arm Assembly Language Programming: Covers Armv8-A 32-bit, 64-bit, and SIMD
Gain the fundamentals of Armv8-A 32-bit and 64-bit assembly language programming. This book emphasizes Armv8-A assembly …