3 options
Professional Swift(Tm) / Michael Dippery.
- Format:
- Book
- Author/Creator:
- Dippery, Michael, author.
- Series:
- Wrox professional guides Professional Swift
- Language:
- English
- Subjects (All):
- Swift (Computer program language).
- Programming languages (Electronic computers).
- Physical Description:
- 1 online resource (310 p.)
- Edition:
- 1st edition
- Place of Publication:
- Indianapolis, Indiana : Wrox, 2015.
- Language Note:
- English
- System Details:
- text file
- Summary:
- Transition from Objective-C to the cleaner, more functional Swift quickly and easily Professional Swift shows you how to create Mac and iPhone applications using Apple's new programming language. This code-intensive, practical guide walks you through Swift best practices as you learn the language, build an application, and refine it using advanced concepts and techniques. Organized for easy navigation, this book can be read end-to-end for a self-paced tutorial, or used as an on-demand desk reference as unfamiliar situations arise. The first section of the book guides you through the basics o
- Contents:
- Using Comparison OperatorsUsing Custom Operators; Making Decisions with Control Flow; Using Conditional Statements; Using Loops; Control Transfer Statements; Grouping Types with Enumerations; Working with Functions; Declaring Functions; Specifying Parameter Names; Defining Default Parameters; Specifying Variadic Parameters; Specifying Constant, Variable, and In-Out Parameters; Function Types; Using Closures; Summary; Chapter 2: Writing a Swift Program; Setting Up Xcode; Downloading from Apple's Developer Portal; Downloading Xcode; Experimenting with Playgrounds; Using Playgrounds in Xcode
- A Simple Example in PlaygroundA More Exciting Playground Example; Writing Swift in Xcode; Creating a New Swift Project; Creating the Swiftisms App; Creating the Interface; Creating Connections between the View Controller and the Object; Connecting the Buttons and the Action; Displaying Random Strings; What Next?; Debugging Swift Applications; Understanding Breakpoint Types; Setting Breakpoints; Using the Debugger; Using the Hierarchical View; Using the Debugger View and the po Command; Executing the Program; Summary; Chapter 3: Classes, Structs, and Enums; Working with Classes and Structs
- Defining Classes and StructsInitializing Classes and Structs; Creating an Initial Value; Defining Your Own Initializer; Writing an Initializer; Working with Multiple Initializers; Deinitializing Classes; Working with Properties; Using Simple Properties; Using Lazy Properties; Using Computed Properties; Observing Property Changes; Understanding Methods; Understanding the Difference between Classes and Structs; Working with Enumerations; Summary; Chapter 4: Concurrency in Swift; What Is Concurrency?; Understanding Processes; Understanding Threads; Why Concurrency?; Designing Concurrent Programs
- Concurrency in iOS and OS XUnderstanding Event Loops; Understanding Run Loops; Understanding Asynchronous Methods; Understanding NSTimer; Understanding NSThread; Understanding Grand Central Dispatch; Summary; Chapter 5: Interfacing with Web Services; Understanding Web Services; Implementing a Web Services Client; Signing Up for a Firebase Account; Laying Out the User Interface; Hooking Up the Add Album View Controller; Adding the Album Creation View Controller; Hooking Up the Segue; Creating the Album Model; Communicating with Firebase; Creating the Firebase Connector
- Making Asynchronous Web Requests
- Notes:
- Description based upon print version of record.
- Description based on online resource; title from PDF title page (ebrary, viewed November 9, 2015).
- ISBN:
- 9781119148715
- 1119148715
- OCLC:
- 910880881
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.