Index
A
- abstract factory pattern / Creational patterns
- access levels
- public / Failable initializers
- internal / Failable initializers
- private / Failable initializers
- adapter pattern
- about / Structural design patterns
- addOperationWithBlock() method
- using, of operation queue / Using the addOperationWithBlock() method of the operation queue
- algorithms, for array
- ARC
- working / The working of ARC
- arithmetic operators
- about / Arithmetic operators
- array algorithms
- closures, using with / Using closures with Swift's array algorithms
- array elements
- accessing / Accessing the array elements
- arrays
- about / Swift collection types, Arrays
- creating / Creating and initializing arrays
- initializing / Creating and initializing arrays
- elements, counting of / Counting the elements of an array
- verifying, isEmpty property used / Is the array empty?
- appending to / Appending to an array
- value, inserting into / Inserting a value into an array
- elements, replacing in / Replacing elements in an array
- elements, removing from / Removing elements from an array
- adding / Adding two arrays
- reversing / Reversing an array
- subarray, retrieving from / Retrieving a subarray from an array
- bulk changes, making to / Making bulk changes to an array
- algorithms / Algorithms for arrays
- iterating over / Iterating over an array
- assignment operator (=)
- associated type
- about / Associated types
- attribute
- setting, in dispatch_queue_create() function / Set the attribute in the dispatch_queue_create() function
- Automatic Reference Counting (ARC)
- about / Memory management
B
- base class
- about / Inheritance
- behavioral design patterns
- about / Behavioral design patterns
- chain of responsibility / Behavioral design patterns
- command / Behavioral design patterns, The command design pattern
- iterator / Behavioral design patterns
- mediator / Behavioral design patterns
- memento / Behavioral design patterns
- observer / Behavioral design patterns
- state / Behavioral design patterns
- strategy / Behavioral design patterns, The strategy pattern
- visitor / Behavioral design patterns
- behavioral patterns
- about / What are design patterns?
- Boolean type
- about / The Boolean type
- break statement
- about / The break statement
- bridge pattern
- builder design pattern
- about / The builder design pattern
- builder pattern / Creational patterns
C
- calculated subscripts
- about / Calculated subscripts
- CGRect
- about / Foundation data types
- CGSize
- about / Foundation data types
- chain of responsibility pattern
- about / Behavioral design patterns
- classes
- about / What are classes and structures?
- versus structures / Differences between classes and structures
- creating / Creating a class or structure
- naming / Classes
- classes, and structures
- similarities / Similarities between classes and structures
- closures
- about / Introducing closures
- simple closures / Simple closures
- shorthand syntax / Shorthand syntax for closures
- using, with array algorithms / Using closures with Swift's array algorithms
- standalone closures / Standalone closures and good style guidelines
- functionality, modifying of classes / Changing functionality
- selecting, based on results / Select a closure based on results
- strong reference cycles / Strong reference cycles with closures
- closures, getNumClosure type
- max / Changing functionality
- min / Changing functionality
- multiply / Changing functionality
- second / Changing functionality
- answer / Changing functionality
- Cocoa data types
- using / Using Cocoa data types
- NSNumber / NSNumber
- NSString / NSString data type
- NSArray / NSArray
- NSDictionary / NSDictionary
- codes
- executing, with if-else statement / Executing codes with the if-else statement
- coding styles
- collection
- about / Swift collection types
- collections
- shorthand declaration, using for / Use shorthand declaration for collections
- collection types
- about / Swift collection types
- arrays / Arrays
- dictionaries / Dictionaries
- command design pattern
- comments
- comparison operators
- about / Comparison operators
- composite pattern
- about / Structural design patterns
- compound assignment operators
- about / Compound assignment operators
- computed properties
- about / Properties, Computed properties
- concurrency
- about / Concurrency and parallelism
- concurrent dispatch queues
- creating, with dispatch_queue_create() function / Creating concurrent dispatch queues with the dispatch_queue_create() function and using the dispatch_asynch() function
- creating, with dispatch_asynch() function / Creating concurrent dispatch queues with the dispatch_queue_create() function and using the dispatch_asynch() function
- concurrent queue
- about / Grand Central Dispatch
- concurrent queues
- requesting, with dispatch_get_global_queue() function / Requesting concurrent queues with the dispatch_get_global_queue() function
- conditional statements
- about / Conditional statements
- if statement / The if statement
- constants
- about / Constants and variables, Constants and variables
- defining / Defining constants and variables
- naming / Constants and variables
- continue statement
- about / The continue statement
- control flow
- about / Control flow
- conditional statements / Conditional statements
- for loops / The for loops
- while loop / The while loop
- switch statement / The switch statement
- control transfer statements / Control transfer statements
- control transfer statements
- about / Control transfer statements
- continue statement / The continue statement
- break statement / The break statement
- fallthrough statement / The fallthrough statement
- creational patterns
- about / What are design patterns?, Creational patterns
- abstract factory / Creational patterns
- builder / Creational patterns, The builder design pattern
- factory method / Creational patterns, The factory method pattern
- prototype / Creational patterns
- singleton / Creational patterns, The singleton design pattern
- curly braces
- about / Curly braces
- curly brackets
- about / Curly brackets
- custom subscripts
- reading / Read and write custom subscripts
- writing / Read and write custom subscripts
- avoiding / When not to use a custom subscript
D
- decorator pattern
- about / Structural design patterns
- decrement operator / Increment and decrement operators
- default values
- defining, for parameters / Defining a parameter's default values
- design patterns
- about / What are design patterns?
- creational patterns / What are design patterns?, Creational patterns
- structural patterns / What are design patterns?, Structural design patterns
- behavioral patterns / What are design patterns?, Behavioral design patterns
- dictionaries
- about / Swift collection types, Dictionaries
- creating / Creating and initializing dictionaries
- initializing / Creating and initializing dictionaries
- value, accessing / Accessing dictionary values
- key/values, counting in / Counting key/values in a dictionary
- isEmpty method, using / Is the dictionary empty?
- value of key, updating / Updating the value of a key
- key-value pair, adding to / Adding a key-value pair
- key-value pair, removing from / Removing a key-value pair
- dispatch queue
- advantages / Grand Central Dispatch
- creating / Creating and managing dispatch queues
- managing / Creating and managing dispatch queues
- functions / Creating and managing dispatch queues
- dispatch_after() function
- using / Using the dispatch_after() function
- parameters / Using the dispatch_after() function
- dispatch_asynch() function
- concurrent dispatch queues, creating with / Creating concurrent dispatch queues with the dispatch_queue_create() function and using the dispatch_asynch() function
- dispatch_get_global_queue()
- using, over dispatch_queue_create() / Use dispatch_get_global_queue() over dispatch_queue_create()
- dispatch_get_global_queue() function
- concurrent queues, requesting with / Requesting concurrent queues with the dispatch_get_global_queue() function
- dispatch_get_main_queue() function
- main queue, creating with / Requesting the main queue with the dispatch_get_main_queue() function
- dispatch_once() function
- dispatch_queue_create()
- dispatch_get_global_queue(), using over / Use dispatch_get_global_queue() over dispatch_queue_create()
- dispatch_queue_create() function
- queues, creating with / Creating queues with the dispatch_queue_create() function
- parameters / Creating queues with the dispatch_queue_create() function
- concurrent dispatch queues, creating with / Creating concurrent dispatch queues with the dispatch_queue_create() function and using the dispatch_asynch() function
- serial dispatch queue, creating with / Creating a serial dispatch queue with the dispatch_queue_create() function and using the dispatch_sync() function
- attribute, setting in / Set the attribute in the dispatch_queue_create() function
- reverse DNS name, using for tag parameter / Use reverse DNS name for the tag parameter of the dispatch_queue_create() function
- dispatch_sync() function
- serial dispatch queue, creating with / Creating a serial dispatch queue with the dispatch_queue_create() function and using the dispatch_sync() function
- dispatch_time() function
- parameters / Using the dispatch_after() function
- do-while loop
- using / Using the do-while loop
- Document Object Model (DOM) parsers / XML and the NSXMLParser class
- Document Type Definition (DTD) / Using the NSXMLParserDelegate protocol
- Double type
- about / Floating-point
E
- elements
- counting, of arrays / Counting the elements of an array
- replacing, in array / Replacing elements in an array
- removing, from array / Removing elements from an array
- enumerations
- about / Enumerations
- explicit types, Swift / Explicit types
- extensions
- about / Extensions
- extensions, RSNetworking
- about / RSNetworking, Extensions
- external names, for subscripts / External names for subscripts
- external parameter names
- adding / Adding external parameter names
- shorthand, using for / Using shorthand for external parameter names
F
- factory method pattern / Creational patterns
- about / The factory method pattern
- failable initializers
- about / Failable initializers
- fallthrough statement
- about / The fallthrough statement
- façade pattern
- features, Swift
- type inference / Swift features
- generics / Swift features
- collection mutability / Swift features
- closure syntax / Swift features
- optionals / Swift features
- switch statement / Swift features
- multiple return types / Swift features
- operator overloading / Swift features
- filter algorithm
- about / filter
- Float80 type
- about / Floating-point
- floating-point number
- about / Floating-point
- Float type
- about / Floating-point
- flyweight pattern
- about / Structural design patterns
- for-in loops
- using, over loops / Use for-in loops over for loops
- for-in loop variant
- using / Using the for-in loop variant
- for loops
- about / The for loops
- for loop variant
- using / Using the for loop variant
- foundation data types
- about / Foundation data types
- CGSize / Foundation data types
- CGRect / Foundation data types
- functions
- about / Functions
- single parameter function, using / Using a single parameter function
- multiparameter function, using / Using a multiparameter function
- multiple values, returning from / Returning multiple values from a function
- optional values, returning / Returning optional values
- naming / Functions and methods
- functions, dispatch queue
- dispatch_queue_create / Creating and managing dispatch queues
- dispatch_get_global_queue / Creating and managing dispatch queues
- dispatch_get_main_queue / Creating and managing dispatch queues
- functions, for submitting tasks
- dispatch_async / Creating and managing dispatch queues
- dispatch_sync / Creating and managing dispatch queues
- dispatch_after / Creating and managing dispatch queues
- dispatch_once / Creating and managing dispatch queues
- functions, RSTransactionRequest class
- dataFromRSTransaction() / RSTransactionRequest
- stringFromRSTransaction() / RSTransactionRequest
- dictionaryFromRSTransaction() / RSTransactionRequest
- imageFromRSTransaction() / RSTransactionRequest
- functions, RSURLRequest API
- dataFromURL() / RSURLRequest
- stringFromURL() / RSURLRequest
- dictionaryFromJsonURL() / RSURLRequest
- imageFromURL() / RSURLRequest
G
- generic functions
- about / Generic functions
- generics
- about / Introduction to generics
- generic types
- about / Generic types
- global functions
- about / Nesting functions
- Grand Central Dispatch (GCD)
- about / Grand Central Dispatch
- queues / Grand Central Dispatch
- graphs
- displaying, in Playgrounds / Displaying graphs in Playgrounds
H
- Hello world application
- writing / Hello world
- home page, Chris Lattner
- URL / What is Swift?
- HTTP GET request
- making / Making an HTTP GET request
- HTTP POST request
- making / Making an HTTP POST request
I
- identifier
- about / Constants and variables
- if-else statement
- codes, executing with / Executing codes with the if-else statement
- if statement
- about / The if statement
- images
- displaying, in Playgrounds / Showing images in a Playground
- increment operator / Increment and decrement operators
- indentation setting, Xcode / Indenting
- inheritance
- about / Inheritance
- initializers
- about / Initializer
- internal parameter names / Internal and external parameter names
- external parameter names / Internal and external parameter names
- failable initializers / Failable initializers
- inout parameters
- using / Using inout parameters
- integer
- about / Integers
- internal access level
- about / Failable initializers
- iOS Playground
- about / iOS and OS X Playgrounds
- iOS project
- creating / Creating the project
- iterator pattern
- about / Behavioral design patterns
J
- JSON
- about / XML and JSON
- and NSJSONSerialization class / JSON and NSJSONSerialization
- JSON document
- files, requisites / Common files
- parsing / Parsing a JSON document
- creating / Creating a JSON document
K
- key-value pair
- adding, to dictionaries / Adding a key-value pair
- removing, from dictionaries / Removing a key-value pair
- key/values
- counting, in dictionaries / Counting key/values in a dictionary
L
- language syntax, Swift
- about / Swift language syntax
- comments / Comments
- semicolons / Semicolons
- parentheses / Parentheses
- curly braces / Curly braces
- assignment operator (=) / Assignment operator (=) does not return a value
- spaces, optional in conditional and assignment statements / Spaces are optional in conditional and assignment statements
- logical AND operator
- about / The logical AND operator
- logical NOT operator
- about / The logical NOT operator
- logical OR operator
- about / The logical OR operator
- loops
- for-in loops, using over / Use for-in loops over for loops
M
- main dispatch queue
- about / Grand Central Dispatch
- main queue
- requesting, with dispatch_get_main_queue() function / Requesting the main queue with the dispatch_get_main_queue() function
- map algorithm
- about / map
- mediator pattern
- about / Behavioral design patterns
- memento pattern
- about / Behavioral design patterns
- memory management
- about / Memory management
- reference type, versus value type / Reference versus value types
- ARC, working / The working of ARC
- strong reference cycles / Strong reference cycles
- MessageBuilder Swift class
- Messages Objective-C class
- about / The Messages Objective-C class
- methods
- about / Methods
- overriding / Overriding methods and properties, Overriding methods
- optionals, returning from / Returning optionals from functions, methods, and subscripts
- naming / Functions and methods
- mix and match
- about / What is Swift?, What is mix and match?
- multidimensional subscripts
- about / Multidimensional subscripts
- multiparameter function
- using / Using a multiparameter function
- multiple values
- returning, from functions / Returning multiple values from a function
- mutability
- about / Mutability
N
- nested functions
- about / Nesting functions
- network connection
- checking / Checking network connection
- network development
- about / What is network development?
- nil coalescing operator
- about / The nil coalescing operator
- NSArray
- about / NSArray
- NSBlockOperation implementation
- using, of NSOperation / Using the NSBlockOperation implementation of NSOperation
- NSDictionary
- about / NSDictionary
- NSJSONSerialization class
- and JSON / JSON and NSJSONSerialization
- methods / JSON and NSJSONSerialization
- NSMutableURLRequest class
- NSNode class
- about / XML and NSXMLDocument
- NSNumber
- about / NSNumber
- NSOperation
- NSBlockOperation implementation, using of / Using the NSBlockOperation implementation of NSOperation
- NSOperation class
- subclassing / Subclassing the NSOperation class
- NSOperationQueue type
- NSOperation type
- NSRect
- about / Foundation data types
- NSSize
- about / Foundation data types
- NSString
- about / NSString data type
- NSURL class
- about / An overview of the URL session classes
- using / Using the NSURL class
- NSURLHTTPResponse class
- NSURLSessionConfiguration class
- about / An overview of the URL session classes, NSURLSessionConfiguration
- session types / NSURLSessionConfiguration
- NSURLSession object
- about / NSURLSession
- NSURLSessionTask class
- about / An overview of the URL session classes, NSURLSessionTask
- subclasses / NSURLSessionTask
- NSXMLDocument class
- and XML / XML and NSXMLDocument
- about / XML and NSXMLDocument
- NSXMLElement class
- about / XML and NSXMLDocument
- NSXMLParser class
- and XML / XML and the NSXMLParser class
- initializers / XML and the NSXMLParser class
- NSXMLParserDelegate protocol
- numeric types
- about / Numeric types
- integer / Integers
- floating-point / Floating-point
O
- Objective-C
- about / What is Swift?
- Swift code, accessing from / The Objective-C class – accessing Swift code from Objective-C
- Objective-C, and Swift
- similarities / What is Swift?
- differences / What is Swift?
- Objective-C bridging header file part 1 / The Objective-C bridging header file part 1
- Objective-C bridging header file part 2 / The Objective-C bridging header file part 2
- Objective-C code
- accessing, from Swift / The MessageBuilder Swift class – accessing Objective-C code from Swift
- Objective-C file
- adding, to project / Adding the Objective-C file to the project
- Objective-C project
- Swift file, adding to / Adding the Swift file to the Objective-C project
- observer pattern
- about / Behavioral design patterns
- operation queue
- addOperationWithBlock() method, using of / Using the addOperationWithBlock() method of the operation queue
- operators
- about / Operators
- assignment operator / The assignment operator
- comparison operators / Comparison operators
- arithmetic operators / Arithmetic operators
- remainder operator / The remainder operator
- increment operator / Increment and decrement operators
- decrement operator / Increment and decrement operators
- compound assignment operators / Compound assignment operators
- ternary conditional operator / The ternary conditional operator
- logical NOT operator / The logical NOT operator
- logical AND operator / The logical AND operator
- logical OR operator / The logical OR operator
- Optional Binding
- about / Optional variables
- optional binding
- about / Optional binding
- using / Use optional binding
- Optional Chaining
- about / Optional variables
- optional chaining
- about / Optional chaining
- nil coalescing operator / The nil coalescing operator
- using, over optional binding / Use optional chaining over optional binding for multiple unwrapping
- optionals
- about / Introducing optionals
- defining / Defining an optional
- using / Using optionals
- unwrapping / Unwrapping an optional
- returning, from functions / Returning optionals from functions, methods, and subscripts
- returning, from methods / Returning optionals from functions, methods, and subscripts
- returning, from subscripts / Returning optionals from functions, methods, and subscripts
- using, as parameter / Using optionals as a parameter in a function or method
- optional types
- need for / The need for optional types in Swift
- about / Optional types
- optional types, with tuples
- about / Optional types with tuples
- optional variables
- about / Optional variables
- creating / Optional variables
- OS X Playground
- about / iOS and OS X Playgrounds
- override keyword
- overrides
- preventing / Preventing overrides
- overriding
- about / Inheritance
P
- parallelism
- about / Concurrency and parallelism
- parameters
- default values, defining for / Defining a parameter's default values
- using, as variables / Parameters as variables
- optionals, using as / Using optionals as a parameter in a function or method
- parameters, dispatch_after() function
- parameters, dispatch_queue_create() function
- parameters, dispatch_time() function
- parentheses
- about / Parentheses
- parenthesis
- about / Parentheses
- Playgrounds
- about / Playgrounds, Getting started with Playgrounds
- sections / Getting started with Playgrounds
- OS X Playground / iOS and OS X Playgrounds
- iOS Playground / iOS and OS X Playgrounds
- images, displaying in / Showing images in a Playground
- graphs, displaying in / Displaying graphs in Playgrounds
- limitations / What Playgrounds are not
- priority levels, concurrent queues
- DISPATCH_QUEUE_PRIORITY_HIGH / Requesting concurrent queues with the dispatch_get_global_queue() function
- DISPATCH_QUEUE_PRIORITY_DEFAULT / Requesting concurrent queues with the dispatch_get_global_queue() function
- DISPATCH_QUEUE_PRIORITY_LOW / Requesting concurrent queues with the dispatch_get_global_queue() function
- DISPATCH_QUEUE_PRIORITY_BACKGROUND / Requesting concurrent queues with the dispatch_get_global_queue() function
- private access level
- about / Failable initializers
- programming style guide
- project
- Objective-C file, adding to / Adding the Objective-C file to the project
- properties
- about / Properties
- stored properties / Properties, Stored properties
- computed properties / Properties, Computed properties
- overriding / Overriding methods and properties, Overriding properties
- properties, RSTransaction class
- TransactionType / RSTransaction
- baseURL / RSTransaction
- path / RSTransaction
- parameters / RSTransaction
- property observers
- about / Property observers
- protocols
- about / Protocols
- syntax / Protocol syntax
- property, requisites / Property requirements
- method, requisites / Method requirements
- optional requisites / Optional requirements
- prototype pattern / Creational patterns
- proxy design pattern
- about / The proxy design pattern
- proxy pattern
- about / Structural design patterns
- public access level
- about / Failable initializers
Q
- queues
- creating, with dispatch_queue_create() function / Creating queues with the dispatch_queue_create() function
- queues, Grand Central Dispatch (GCD)
- serial queue / Grand Central Dispatch
- concurrent queue / Grand Central Dispatch
- main dispatch queue / Grand Central Dispatch
R
- read only custom subscripts
- about / Read only custom subscripts
- reference type
- versus value type / Value versus reference types, Reference versus value types
- remainder operator
- about / The remainder operator
- Representational State Transfer (REST) / What is network development?
- REST web services
- about / REST web services
- reverse DNS name
- using for tag parameter, of dispatch_queue_create() function / Use reverse DNS name for the tag parameter of the dispatch_queue_create() function
- RSNetworking
- about / Checking network connection, RSNetworking
- URL / RSNetworking, Extensions
- RSURLRequest API / RSNetworking
- RSTransaction API / RSNetworking
- RSTransactionRequest API / RSNetworking
- extensions / RSNetworking, Extensions
- RSTransaction class
- about / RSTransaction and RSTransactionRequest, RSTransaction
- properties / RSTransaction
- RSTransactionRequest class
- about / RSTransaction and RSTransactionRequest, RSTransactionRequest
- functions / RSTransactionRequest
- example / RSTransactionRequest
- RSURLRequest API
- about / RSURLRequest
- functions / RSURLRequest
- example / RSURLRequest
S
- Search API
- sections, for-in loop
- variable / Using the for-in loop variant
- collection / Using the for-in loop variant
- sections, for loop
- initialization / Using the for loop variant
- condition / Using the for loop variant
- update-rule / Using the for loop variant
- sections, Playgrounds
- Coding Area / Getting started with Playgrounds
- Results Sidebar / Getting started with Playgrounds
- Timeline Sidebar / Getting started with Playgrounds
- self keyword
- using / Using the self keyword
- semicolons
- about / Semicolons
- serial dispatch queue
- creating, with dispatch_queue_create() function / Creating a serial dispatch queue with the dispatch_queue_create() function and using the dispatch_sync() function
- creating, with dispatch_sync() function / Creating a serial dispatch queue with the dispatch_queue_create() function and using the dispatch_sync() function
- serial queue
- about / Grand Central Dispatch
- session types, NSURLSessionConfiguration class
- default session configuration / NSURLSessionConfiguration
- ephemeral session configuration / NSURLSessionConfiguration
- background Session configuration / NSURLSessionConfiguration
- shorthand
- using, for external parameter names / Using shorthand for external parameter names
- shorthand declaration
- using, for collections / Use shorthand declaration for collections
- shorthand syntax, for closures
- about / Shorthand syntax for closures
- Simple API for XML (SAX) / XML and the NSXMLParser class
- simple closures
- about / Simple closures
- example / Simple closures
- single parameter function
- singleton pattern / Creational patterns, The singleton design pattern
- sort algorithm
- about / sort
- sorted algorithm
- about / sorted
- standalone closures
- state pattern
- about / Behavioral design patterns
- stored properties
- about / Properties, Stored properties
- strategy pattern
- string type
- about / The string type
- strong reference cycle / Strong reference cycles
- strong reference cycles
- with closures / Strong reference cycles with closures
- structural design patterns
- about / Structural design patterns
- adapter / Structural design patterns
- bridge / Structural design patterns, The bridge pattern
- composite / Structural design patterns
- decorator / Structural design patterns
- façade / Structural design patterns, The facade pattern
- flyweight / Structural design patterns
- proxy / Structural design patterns, The proxy design pattern
- structural patterns
- about / What are design patterns?
- structures
- about / What are classes and structures?
- versus classes / Differences between classes and structures
- creating / Creating a class or structure
- style guide
- about / Your style guide
- semicolons, avoiding at end of statement / Do not use semicolons at the end of statements
- parentheses, avoiding at end of statement / Do not use parentheses for conditional statements
- naming rules / Naming, Functions and methods
- comments / Comments
- self keyword, using / Using the self keyword
- native types / Types
- constants / Constants and variables
- variables / Constants and variables
- optional types / Optional types
- type inference, using / Use type inference
- shorthand declaration, using for collections / Use shorthand declaration for collections
- for-in loops, using over for loops / Use for-in loops over for loops
- switch statement, using over multiple if statements / Use switch rather than multiple if statements
- grand central dispatch / Don't leave commented out code in your application
- attribute, setting in dispatch_queue_create() function / Set the attribute in the dispatch_queue_create() function
- reverse DNS name, using for tag parameter of dispatch_queue_create() function / Use reverse DNS name for the tag parameter of the dispatch_queue_create() function
- subarray
- retrieving, from array / Retrieving a subarray from an array
- subclasses
- about / Inheritance
- subclasses, NSURLSessionTask class
- NSURLSessionDataTask / NSURLSessionTask
- NSURLSessionDownloadTask / NSURLSessionTask
- NSURLSessionUploadTask / NSURLSessionTask
- subscripts
- about / Introducing subscripts
- using, with Swift arrays / Subscripts with Swift arrays
- calculated subscripts / Calculated subscripts
- values / Subscript values
- with ranges / Subscripts with ranges
- external names / External names for subscripts
- multidimensional subscripts / Multidimensional subscripts
- optionals, returning from / Returning optionals from functions, methods, and subscripts
- Swift
- about / What is Swift?
- features / Swift features
- language syntax / Swift language syntax
- type-safe language / Type safety
- type inference / Type inference
- explicit types / Explicit types
- Objective-C code, accessing from / The MessageBuilder Swift class – accessing Objective-C code from Swift
- Swift, and Objective-C
- similarities / What is Swift?
- differences / What is Swift?
- using, in same project / Using Swift and Objective-C together in the same project
- Swift arrays
- subscripts, using with / Subscripts with Swift arrays
- Swift code
- accessing, from Objective-C / The Objective-C class – accessing Swift code from Objective-C
- Swift file
- adding, to Objective-C project / Adding the Swift file to the Objective-C project
- Swift page, Apple
- URL / What is Swift?
- switch statement
- about / The switch statement
- using, over multiple if statements / Use switch rather than multiple if statements
T
- ternary conditional operator
- about / The ternary conditional operator
- tuples
- about / Tuples
- type-safe, Swift / Type safety
- type inference
- using / Use type inference
- type inference, Swift / Type inference
- types
- about / Types
U
- UIButton extension
- methods / Extensions
- UIImageView extension
- methods / Extensions
- URL
- encoding / Encoding a URL
- URL loading system
- reference link / RSNetworking
- URL session classes
- overview / An overview of the URL session classes
- NSURLSession / An overview of the URL session classes
- NSURLSessionConfiguration / An overview of the URL session classes, NSURLSessionConfiguration
- NSURLSessionTask / An overview of the URL session classes, NSURLSessionTask
- NSURL / An overview of the URL session classes, Using the NSURL class
- NSMutableURLRequest / An overview of the URL session classes, NSMutableURLRequest
- NSHTTPURLResponse / An overview of the URL session classes, NSURLHTTPResponse
V
- value
- inserting, into array / Inserting a value into an array
- value, of key
- updating, in dictionaries / Updating the value of a key
- value type
- versus reference type / Value versus reference types, Reference versus value types
- variables
- about / Constants and variables, Constants and variables
- defining / Defining constants and variables
- paarmeters, using as / Parameters as variables
- naming / Constants and variables
- variadic parameters
- using / Using variadic parameters
- visitor pattern
- about / Behavioral design patterns
W
- while loop
- about / The while loop
- using / Using the while loop
- WorldWide Developers Conference (WWDC)
- about / What is Swift?
X
- XML
- about / XML and JSON
- and NSXMLParser class / XML and the NSXMLParser class
- delegate methods / Using the NSXMLParserDelegate protocol
- and NSXMLDocument class / XML and NSXMLDocument
- XML documents
- files, requisites / Common files
- parsing / Parsing XML documents
- binding, manually / XML and manually building XML documents