Title Statements
- Full title :Beginning Swift programming / Wei-Meng Lee ; technical editor, Chaim Krause.
Summary
This comprehensive guide explains everything you need to know to jumpstart the creation of your app idea using Swift. 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. You will 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. --
Read More ↓Edition Statements
- Publication Date:©2015
Publication Statements
- Publisher(s):John Wiley & Sons, Inc
- Place of Publication:Indianapolis, Indiana
- Language:eng
- Publication Date:©2015
The Physical Object
- Description:1 online resource (xxvii, 257 pages) : : illustrations
Edition Identifiers
- ISBN:9781119042884, 1119042887, 9781119009320, 1119009324
- oclc:ocn907357132
- LC Classification:QA76.7
- Dewey Decimal:005.25
Table of Contents
Beginning SwiftTM Programming; ABOUT THE AUTHOR; ABOUT THE TECHNICAL EDITOR; CREDITS; ACKNOWLEDGMENTS; CONTENTS; INTRODUCTION; CHAPTER 1: INTRODUCTION TO SWIFT; What Is Swift?; Why Swift Is Important; Setting Up the Environment; Creating a Playground Project; Creating an iOS Project; Swift Syntax; Constants; Variables; String Interpolation: Including Values in Strings; Statements; Printing; Comments; Summary; CHAPTER 2: DATA TYPES; Basic Data Types; Integers; Types of Integers; Integer Operations; Integer Literals; Floating-Point Numbers; Floating-Point Operations; Floating-Point Literals
Type AliasBoolean; Tuples; Optional Types; Implicitly Unwrapped Optionals; Optional Binding; Unwrapping Optionals Using "?"; Enumerations; Using Enumeration in Switch Statements; Enumeration Raw Values; Auto-Increment for Raw Values; Associated Values; Enumeration Functions; Summary; CHAPTER 3: STRINGS AND CHARACTERS; Strings; Mutability of Strings; Strings as Value Types; Characters; Concatenating Strings; Special Characters; Unicode; Common String Functions; Equality; Prefix and Suffix; Length; Substrings; Converting Strings to Arrays; Type Conversion; Interoperability with NSString
Casting S…
Subjects
Writers
More from this Series
No reviews yet. Be the first to rate this work.
Files & Downloads
-
Beginning Swift Programming -- (.azw3)
AZW3 · 1.3 MB · updated -
Beginning Swift Programming -- (.pdf)
PDF · 4.2 MB · updated -
Beginning Swift Programming -- (.azw3)
AZW3 · 1.4 MB · updated -
Beginning Swift Programming -- (.epub)
EPUB · 1.7 MB · updated
Rate & Review