Limit search to available items
Record 21 of 39
Previous Record Next Record
Book Cover
E-book
Author Wang, Wally, author.

Title MacOS programming for absolute beginners : developing apps using Swift and Xcode / Wallace Wang
Published [United States] : Apress, 2017
New York, NY : Distributed to the Book trade worldwide by Springer
©2017

Copies

Description 1 online resource
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
Summary Learn how to code for the iMac, Mac mini, Mac Pro, and MacBook using Swift, Apple's hottest programming language. Fully updated to cover the new MacBook Touch Bar, macOS Programming for Absolute Beginners will not only teach complete programming novices how to write macOS programs, but it can also help experienced programmers moving to the Mac for the first time. You will learn the principles of programming, how to use Swift and Xcode, and how to combine your knowledge into writing macOS programs. If you've always wanted to learn coding but felt stymied by the limitation of simplistic programming languages or intimidated by professional but complicated programming languages, then you'll want to learn Swift. Swift is your gateway to both Mac and iOS app development while being powerful and easy to learn at the same time, and macOS Programming for Absolute Beginners is the perfect place to start - add it to your library today
Notes Includes index
Online resource; title from PDF title page (SpringerLink, viewed March 10, 2017)
SUBJECT Mac OS. http://id.loc.gov/authorities/names/n96060065
Mac OS fast
Subject Application software -- Development.
COMPUTERS -- Operating Systems -- Apple (Mac OS & iOS)
COMPUTERS -- Software Development & Engineering -- General.
Application software -- Development
Form Electronic book
ISBN 9781484226629
1484226623