My Account Log in

1 option

Beginning swift programming / Wei-Meng Lee.

O'Reilly Online Learning: Academic/Public Library Edition Available online

O'Reilly Online Learning: Academic/Public Library Edition
Format:
Book
Author/Creator:
Lee, Wei-Meng, author.
Language:
English
Subjects (All):
iOS (Electronic resource).
Application software--Development.
Mobile computing--Programming.
Physical Description:
1 online resource (290 p.)
Edition:
1st edition
Place of Publication:
Indianapolis, Indiana : John Wiley & Sons, 2015.
Language Note:
English
System Details:
text file
Summary:
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 - ye
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 String to NSStringUsing NSString Directly; String or NSString?; Summary; CHAPTER 4: BASIC OPERATORS; Assignment Operator; Arithmetic Operators; Addition Operator; Subtraction Operator; Multiplication Operator; Division Operator; Modulus Operator; Increment and Decrement Operator; Compound Assignment Operators; Nil Coalescing Operator; Comparison Operators; Equal To and Not Equal To; Greater Than or Equal To; Less Than or Equal To; Range Operators; Logical Operators; NOT; AND; OR; Combining Logical Operators; Ternary Conditional Operator; Summary; CHAPTER 5: FUNCTIONS
Defi ning and Calling a FunctionInput Parameters; Returning a Value; Returning Multiple Values; Function Parameter Names; External Parameter Names Shorthand; Default Parameter Values; Variadic (Variable) Parameters; Constant and Variable Parameters; In-Out Parameters; Function Types; Defining a Function Type Variable; Calling a Function Type Variable; Returning Function Type in a Function; Nested Functions; Summary; CHAPTER 6: COLLECTIONS; Arrays; Mutability of Arrays; Array Data Types; Retrieving Elements from an Array; Inserting Elements into an Array; Modifying Elements in an Array
Appending Elements to an ArrayChecking the Size of an Array; Removing Elements from an Array; Iterating over an Array; Creating an Empty Array; Testing Arrays for Equality; Dictionaries; Mutability of Dictionaries; Retrieving Elements from a Dictionary; Checking the Size of a Dictionary; Modifying an Item in the Dictionary; Removing an Item from the Dictionary; Iterating over a Dictionary; Creating an Empty Dictionary; Testing Dictionaries for Equality; Copying the Behavior of Arrays and Dictionaries; Summary; CHAPTER 7: CONTROL FLOW AND LOOPING; Flow Control; If Statement; If-Else Statement
Switch Statement
Notes:
Includes index.
Description based on print version record.
ISBN:
9781119009320
1119009324
9781119042884
1119042887
OCLC:
904284919

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

We want your feedback!

Thanks for using the Penn Libraries new search tool. We encourage you to submit feedback as we continue to improve the site.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account