Linked e-resources
Details
Table of Contents
At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Understanding Programming; Programming Principles; Structured Programming; Event-Driven Programming; Object-Oriented Programming; Encapsulation; Inheritance; Polymorphism; Understanding Programming Languages; The Cocoa Framework; The View-Model-Controller Design; How Programmers Work; Summary; Chapter 2: Getting to Know Xcode 8; Giving Commands to Xcode; Modifying the Xcode Window; Creating and Managing Files; Creating and Customizing a User Interface
The Standard and Assistant EditorsRunning a Program; Summary; Chapter 3: The Basics of Creating a Mac Program; Creating a Project; Designing a User Interface; Using the Document Outline and Connections Inspector; Summary; Chapter 4: Getting Help; Understanding the Cocoa Framework; Looking Up Properties and Methods in a Class File; Looking Up Class Files with the Help Menu; Looking Up Class Files with Quick Help; Browsing the Documentation; Searching the Documentation; Using Code Completion; Understanding How macOS Programs Work; Summary; Chapter 5: Learning Swift with Playgrounds
Using PlaygroundsStoring Data in Swift; Using Unicode Characters as Names; Converting Data Types; Computed Properties; Using Optional Variables; Linking Swift Code to a User Interface; Summary; Chapter 6: Manipulating Numbers and Strings; Using Mathematical Operators; Compound Assignment Operators; Using Math Functions; Rounding Functions; Calculation Functions; Trigonometry Functions; Exponential Functions; Logarithmic Functions; Using String Functions; Summary; Chapter 7: Making Decisions with Branches; Understanding Comparison Operators; Understanding Logical Operators; The if Statement
The if-else StatementThe if-else-if Statement; The switch Statement; Making Decisions in an macOS Program; Summary; Chapter 8: Repeating Code with Loops; The while Loop; The repeat-while Loop; The for-in Loop; Counting Through Arrays with the for-in Loop; Exiting Loops Prematurely; Using Loops in an macOS Program; Summary; Chapter 9: Arrays and Dictionaries; Using Arrays; Adding Items to an Array; Deleting Items from an Array; Querying Arrays; Manipulating Arrays; Using Dictionaries; Adding Items to a Dictionary; Retrieving and Updating Data in a Dictionary; Deleting Data in a Dictionary
Querying a DictionaryUsing Dictionaries in a macOS Program; Summary; Chapter 10: Tuples and Sets; Using Tuples; Accessing Data in a Tuple; Using Sets; Creating a Set; Adding and Removing Items from a Set; Querying a Set; Manipulating Sets; Summary; Chapter 11: Storing Code in Functions; Simple Functions Without Parameters or Return Values; Simple Functions with Parameters; Functions with Parameters That Return Values; Using Variable Parameters; Using Inout Parameters; Returning Multiple Values; Understanding IBAction Methods; Summary; Chapter 12: Defining Custom Data Types; Typealiases
The Standard and Assistant EditorsRunning a Program; Summary; Chapter 3: The Basics of Creating a Mac Program; Creating a Project; Designing a User Interface; Using the Document Outline and Connections Inspector; Summary; Chapter 4: Getting Help; Understanding the Cocoa Framework; Looking Up Properties and Methods in a Class File; Looking Up Class Files with the Help Menu; Looking Up Class Files with Quick Help; Browsing the Documentation; Searching the Documentation; Using Code Completion; Understanding How macOS Programs Work; Summary; Chapter 5: Learning Swift with Playgrounds
Using PlaygroundsStoring Data in Swift; Using Unicode Characters as Names; Converting Data Types; Computed Properties; Using Optional Variables; Linking Swift Code to a User Interface; Summary; Chapter 6: Manipulating Numbers and Strings; Using Mathematical Operators; Compound Assignment Operators; Using Math Functions; Rounding Functions; Calculation Functions; Trigonometry Functions; Exponential Functions; Logarithmic Functions; Using String Functions; Summary; Chapter 7: Making Decisions with Branches; Understanding Comparison Operators; Understanding Logical Operators; The if Statement
The if-else StatementThe if-else-if Statement; The switch Statement; Making Decisions in an macOS Program; Summary; Chapter 8: Repeating Code with Loops; The while Loop; The repeat-while Loop; The for-in Loop; Counting Through Arrays with the for-in Loop; Exiting Loops Prematurely; Using Loops in an macOS Program; Summary; Chapter 9: Arrays and Dictionaries; Using Arrays; Adding Items to an Array; Deleting Items from an Array; Querying Arrays; Manipulating Arrays; Using Dictionaries; Adding Items to a Dictionary; Retrieving and Updating Data in a Dictionary; Deleting Data in a Dictionary
Querying a DictionaryUsing Dictionaries in a macOS Program; Summary; Chapter 10: Tuples and Sets; Using Tuples; Accessing Data in a Tuple; Using Sets; Creating a Set; Adding and Removing Items from a Set; Querying a Set; Manipulating Sets; Summary; Chapter 11: Storing Code in Functions; Simple Functions Without Parameters or Return Values; Simple Functions with Parameters; Functions with Parameters That Return Values; Using Variable Parameters; Using Inout Parameters; Returning Multiple Values; Understanding IBAction Methods; Summary; Chapter 12: Defining Custom Data Types; Typealiases