2 options
Mastering Swift : master Apple's new Swift programming language by following the best practices to write efficient and powerful code / Jon Hoffman.
- Format:
- Book
- Author/Creator:
- Hoffman, Jon, author.
- Series:
- Community experience distilled.
- Community Experience Distilled
- Language:
- English
- Subjects (All):
- iPhone (Smartphone)--Programming.
- iPhone (Smartphone).
- Swift (Computer program language).
- Application software--Development.
- Application software.
- Physical Description:
- 1 online resource (358 p.)
- Place of Publication:
- Birmingham, England ; Mumbai, [India] : Packt Publishing, 2015.
- Language Note:
- English
- Biography/History:
- Hoffman Jon: Jon Hoffman has over 25 years of experience in the field of information technology. Over these years, Jon has worked in the areas of system administration, network administration, network security, application development, and architecture. Currently, Jon works as a senior software engineer for Syn-Tech Systems. Jon has developed extensively for the iOS platform since 2008. This includes several apps that he has published in the App Store, apps that he has written for third parties, and numerous enterprise applications. He has also developed mobile applications for the Android and Windows platforms. What really drives Jon the challenges that the field of information technology provides and there is nothing more exhilarating to him than overcoming a challenge. Some of Jon's other interests are spending time with his family, robotic projects, and 3D printing. Jon also really enjoys Tae Kwon Do, where he and his oldest daughter Kailey earned their black belts together early in 2014, Kim (his wife) earned her black belt in December 2014, and his youngest daughter Kara is currently working towards her black belt.
- Summary:
- If you are a developer that learns best by looking at, and working with, code, then this book is for you. A basic understanding of Apple's tools is beneficial but not mandatory.
- Contents:
- ""Cover""; ""Copyright""; ""Credits""; ""About the Author""; ""About the Reviewers""; ""www.PacktPub.com""; ""Table of Contents""; ""Preface""; ""Chapter 1: Taking the First Steps with Swift""; ""What is Swift?""; ""Swift features""; ""Playgrounds""; ""Getting started with Playgrounds""; ""iOS and OS X Playgrounds""; ""Showing images in a Playground""; ""Displaying graphs in Playgrounds""; ""What Playgrounds are not""; ""Swift language syntax""; ""Comments""; ""Semicolons""; ""Parentheses""; ""Curly braces""; ""Assignment operator (=) does not return a value""
- ""Spaces are optional in conditional and assignment statements""""Hello world""; ""Summary""; ""Chapter 2: Learning about Variables, Constants, Strings, and Operators""; ""Constants and variables""; ""Defining constants and variables""; ""Type safety""; ""Type inference""; ""Explicit types""; ""Numeric types""; ""Integers""; ""Floating-point""; ""The Boolean type""; ""The string type""; ""Optional variables""; ""Enumerations""; ""Operators""; ""The assignment operator""; ""Comparison operators""; ""Arithmetic operators""; ""The remainder operator""; ""Increment and decrement operators""
- ""Compound assignment operators""""The ternary conditional operator""; ""The logical NOT operator""; ""The logical AND operator""; ""The logical OR operator""; ""Summary""; ""Chapter 3: Using Collections and Cocoa Data Types""; ""Swift collection types""; ""Mutability""; ""Arrays""; ""Creating and initializing arrays""; ""Accessing the array elements""; ""Counting the elements of an array""; ""Is the array empty?""; ""Appending to an array""; ""Inserting a value into an array""; ""Replacing elements in an array""; ""Removing elements from an array""; ""Adding two arrays""
- ""Reversing an array""""Retrieving a subarray from an array""; ""Making bulk changes to an array""; ""Algorithms for arrays""; ""sort""; ""sorted""; ""filter""; ""map""; ""Iterating over an array""; ""Dictionaries""; ""Creating and initializing dictionaries""; ""Accessing dictionary values""; ""Counting key/values in a dictionary""; ""Is the dictionary empty?""; ""Updating the value of a key""; ""Adding a key-value pair""; ""Removing a key-value pair""; ""Tuples""; ""Using Cocoa data types""; ""NSNumber""; ""NSString data type""; ""NSArray""; ""NSDictionary""; ""Foundation data types""
- ""Summary""""Chapter 4: Control Flow and Functions""; ""What we have learned so far""; ""Curly brackets""; ""Parenthesis""; ""Control flow""; ""Conditional statements""; ""The if statement""; ""Executing codes with the if-else statement""; ""The for loops""; ""Using the for loop variant""; ""Using the for-in loop variant""; ""The while loop""; ""Using the while loop""; ""Using the do-while loop""; ""The switch statement""; ""Control transfer statements""; ""The continue statement""; ""The break statement""; ""The fallthrough statement""; ""Functions""; ""Using a single parameter function""
- ""Using a multiparameter function""
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed July 8, 2015).
- OCLC:
- 913095988
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.