Description |
1 online resource |
Contents |
Intro; Brief Contents; Contents in Detail; Acknowledgments; Introduction; Who Should Read This Book?; What's in This Book?; The Companion Website; Have Fun!; Chapter 1: Hello, World!; Installing Xcode, Your Code Editor; Your First App!; Introducing the Storyboard; Adding User Interface Elements with the Object Library; Saving Your Work; Running the App on a Real Device; What You Learned; Chapter 2: Learning to Code in a Playground; Constants and Variables; When to Use Constants vs. Variables; Naming Constants and Variables; Data Types; Declaring Data Types; Common Data Types; Type Inference |
|
Transforming Data Types with CastingOperators; Order of Operations; Ordering Operations with Parentheses; Compound Assignment Operators; What You Learned; Chapter 3: Making Choices; Boolean Expressions; Is Equal and Is Not Equal; Greater Than and Less Than; Compound Boolean Expressions; Conditional Statements; if Statements; switch Statements; What You Learned; Chapter 4: Writing Code That Loops; Open the Debug Area; Looping Through Ranges and Collections with for-in; Say Hello!; Say Good Morning!; Testing Conditions with while Loops; Guess My Number; Shrink Away; Which Loop to Use? |
|
Nesting and ScopeNesting Blocks of Code; Constant and Variable Scope; What You Learned; Chapter 5: Keeping Your Programs Safe with Optionals; What Is an Optional?; Creating Optionals; Unwrapping Optionals; A Special Kind of Operator:??; What You Learned; Chapter 6: Storing Collections in Dictionaries and Arrays; Keeping Things in Order with Arrays; Using Mutable and Immutable Arrays; Using Type Inference; Accessing Items in an Array; Watching the Range; Adding Items to an Array; Combining Arrays; Removing Items from an Array; Replacing Items in an Array; Using Array Properties |
|
Looping Over an ArrayDictionaries Are Key!; Initializing a Dictionary; Accessing Values in a Dictionary; Adding Items to a Dictionary; Removing Items from a Dictionary; Replacing Items in a Dictionary; Using Dictionary Properties; Looping Over a Dictionary; What You Learned; Chapter 7: Functions Are a Party, and You're Invited; In with the Input, Out with the Output; Writing a Custom Function; Functions Do Even More with Input Parameters; Making Party Invitations; Inviting All Your Friends at Once; Messaging Your Guests; Argument Labels; Adding a Custom Argument Label |
|
Removing an Argument LabelReturn Values; Which Is the Bigger Box?; Conditional Returns; What You Learned; Chapter 8: Custom Classes and Structs; Making a Class; Writing a Class Definition; Storing Information in Properties; Creating an Instance of a Class; Accessing the Properties of a Class; Customizing Each Cake with Initializers; Adding a Birthday Greeting Method; Writing a Helper Method; A Special Property Called self; Class Inheritance; Creating a Superclass; Creating a Subclass; Detecting the Data Type by Typecasting; Refining the Data Type by Downcasting |
Summary |
"Teaches the fundamentals of programming iOS apps and games with Swift and Xcode, the official iOS development environment"-- Provided by publisher |
Bibliography |
Includes bibliographical references and index |
Notes |
Age 10 plus |
|
Print version record and CIP data provided by publisher; resource not viewed |
Subject |
Swift (Computer program language) -- Juvenile literature
|
|
iPhone (Smartphone) -- Programming -- Juvenile literature
|
|
Application software -- Development -- Juvenile literature
|
|
JUVENILE NONFICTION -- Computers -- Programming.
|
|
JUVENILE NONFICTION -- Computers -- Hardware.
|
|
Application software -- Development
|
|
Swift (Computer program language)
|
Genre/Form |
Electronic books
|
|
Juvenile works
|
Form |
Electronic book
|
Author |
McCarthy, Matt (Software engineer), author.
|
LC no. |
2017015717 |
ISBN |
9781593278373 |
|
1593278373 |
|