iOS 12 Programming Fundamentals with Swift Swift Xcode and Cocoa Basics 5th Edition by Matt Neuburg – Ebook Instant Download/Delivery ISBN(s): 149193672X, 9781491936726
Product details:
- ISBN 10: 149193672X
- ISBN 13: 9781491936726
- Author: Matt
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode IDE, the Cocoa Touch framework, and Swift 2.0—the latest version of Apple’s acclaimed programming language. With this thoroughly updated guide, you’ll learn Swift’s object-oriented concepts, understand how to use Apple’s development tools, and discover how Cocoa provides the underlying functionality iOS apps need to have. Explore Swift’s object-oriented concepts: variables and functions, scopes and namespaces, object types and instances Become familiar with built-in Swift types such as numbers, strings, ranges, tuples, Optionals, arrays, dictionaries, and sets Learn how to declare, instantiate, and customize Swift object types—enums, structs, and classes Discover powerful Swift features such as protocols and generics Catch up on Swift 2.0 innovations: option sets, protocol extensions, error handling, guard statements, availability checks, and more Tour the lifecycle of an Xcode project from inception to App Store Create app interfaces with nibs and the nib editor, Interface Builder Understand Cocoa’s event-driven model and its major design patterns and features Find out how Swift communicates with Cocoa’s C and Objective-C APIs Once you master the fundamentals, you’ll be ready to tackle the details of iOS app development with author Matt Neuburg’s companion guide, Programming iOS 9.
Table of contents:
I. Language
1. The Architecture of Swift
Ground of Being
Everything Is an Object?
Three Flavors of Object Type
Variables
Functions
The Structure of a Swift File
Scope and Lifetime
Object Members
Namespaces
Modules
Instances
Why Instances?
self
Privacy
Design
Object Types and APIs
Instance Creation, Scope, and Lifetime
Summary and Conclusion
2. Functions
Function Parameters and Return Value
Void Return Type and Parameters
Function Signature
External Parameter Names
Overloading
Default Parameter Values
Variadic Parameters
Ignored Parameters
Modifiable Parameters
Function In Function
Recursion
Function As Value
Anonymous Functions
Define-and-Call
Closures
How Closures Improve Code
Function Returning Function
Closure Setting a Captured Variable
Closure Preserving Its Captured Environment
Curried Functions
3. Variables and Simple Types
Variable Scope and Lifetime
Variable Declaration
Computed Initializer
Computed Variables
Setter Observers
Lazy Initialization
Built-In Simple Types
Bool
Numbers
Int
Double
Coercion
Other numeric types
Arithmetic operations
Comparison
String
Character
Range
Tuple
Optional
Unwrapping an Optional
Implicitly unwrapped Optional
The magic word nil
Optional chains
Comparison with Optional
Why Optionals?
4. Object Types
Object Type Declarations and Features
Initializers
Optional properties
Referring to self
Delegating initializers
Failable initializers
Properties
Methods
Subscripts
Nested Object Types
Instance References
Enums
Case With Fixed Value
Case With Typed Value
Enum Initializers
Enum Properties
Enum Methods
Why Enums?
Structs
Struct Initializers, Properties, and Methods
Struct As Namespace
Classes
Value Types and Reference Types
Subclass and Superclass
Class Initializers
Kinds of class initializer
Subclass initializers
Required initializers
Surprises from Cocoa
Class Deinitializer
Class Properties and Methods
Polymorphism
Casting
Type Reference
Protocols
Why Protocols?
Protocol Type Testing and Casting
Declaring a Protocol
Optional Protocol Members
Class Protocol
Implicitly Required Initializers
Literal Convertibles
Generics
Generic Declarations
Type Constraints
Explicit Specialization
Associated Type Chains
Additional Constraints
Extensions
Extending Object Types
Extending Protocols
Extending Generics
Umbrella Types
AnyObject
Suppressing type checking
Object identity and type identity
AnyClass
Any
Collection Types
Array
Array casting and type testing
Array comparison
Arrays are value types
Array subscripting
Nested arrays
Basic array properties and methods
Array enumeration and transformation
Swift Array and Objective-C NSArray
Dictionary
Basic dictionary properties and enumeration
Swift Dictionary and Objective-C NSDictionary
Set
Option sets
Swift Set and Objective-C NSSet
5. Flow Control and More
People also search:
programming ios 15
programming fundamentals definition
what are the fundamentals of programming
how to learn programming fundamentals
best ios programming books