Book Image

Swift Cookbook

Book Image

Swift Cookbook

Overview of this book

Table of Contents (18 chapters)
Swift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Index

A

  • Abstract Factory pattern
    • about / Creating a factory of musical notes
  • access levels, Swift
    • about / How it works...
    • public / How it works...
    • internal / How it works...
    • private / How it works...
  • app
    • profiling / Profiling an app, How to do it..., How it works...
  • app delegate
    • upgrading / Upgrading the app delegate, How to do it..., How it works...
  • App Extension
    • about / How it works...
  • Apple
    • URL / How to do it...
  • Apple Watch app
    • creating / How to do it..., How it works..., There's more...
  • App Store
    • Xcode, installing from / Installing Xcode from the App Store, How to do it...
  • arm assembly code
    • reference link / There's more...
  • array,of products
    • sorting / Sorting an array of products, How to do it..., How it works...
  • assembly code
    • using, with Swift / Using assembly code with Swift, How to do it..., How it works...
    • about / There's more...
  • assertions functions, Swift
    • assert / How it works...
    • assertionFailure / How it works...
  • Assistant Editor / How it works...
  • autoclosure / How it works...

B

  • BCL library
    • URL / Getting ready

C

  • C
    • about / Introduction
  • C++ code
    • sharing, with Swift / Sharing C++ code with Swift, Getting ready, How to do it..., How it works...
  • checkerboard
    • creating, for dangerous moves / Getting ready, How to do it..., How it works...
    • visualizing / The best checker movement, How to do it..., How it works...
  • clobbers / How it works...
  • code
    • porting, from Objective-C to Swift / Porting from one language to another, How it works...
  • command line
    • compiling from / Compiling from the command line, How to do it..., How it works...
  • conditional code
    • creating / Creating conditional code, How to do it...
  • control version system
    • adding, to existing project / Adding a control version system to an existing project, How to do it..., There's more...
  • copying, of structs
    • avoiding / Avoiding copying of structs, How to do it..., How it works...
  • CoreImage / How it works...
    • reference link / There's more...
    • about / There's more...
  • CouchDB
    • about / Voting devices
    • URL, for downloading / Getting ready
  • CSV file, with range of IPs
    • reference link / Getting ready
  • Currency Converter app
    • creating / Exchanging money, How to do it..., How it works...
  • CycloneChecker app
    • creating / Being aware of cyclones, Getting ready, How to do it..., How it works...

D

  • decorator pattern / Delivering some pizzas
  • design patterns / Introduction
  • developer account
    • adding / Adding a developer account, How to do it..., There's more...
  • device
    • working, while navigation / Working of a device while you navigate, Getting ready, How to do it…, There's more...
  • dinner room
    • organizing / Organizing a dinner room, How to do it..., How it works...
  • doubleFormatter function / There's more...

E

  • exam app
    • creating / Creating an exam app, How to do it..., How it works...

F

  • factory of musical notes
    • creating / Creating a factory of musical notes, How to do it..., How it works
  • framework
    • creating / How to do it..., How it works...
  • functions, SQLite
    • sqlite3_open / How it works...
    • sqlite3_close / How it works...
    • sqlite3_exec / How it works...

G

  • geekest keyboard
    • about / The geekest keyboard
    • creating / Getting ready, How to do it..., How it works...
  • generic array initializer
    • creating / Creating a generic array initializer, How to do it..., How it works...
  • Grand Central Dispatch (GCD) / How it works...
  • graphics
    • viewing / Watching some graphics, How to do it..., How it works...

H

  • Handoff
    • about / Being a film critic
    • Activity / How it works...
    • with photos, reference link / There's more...
  • Handoff support app
    • creating / Being a film critic, Getting ready, How to do it..., How it works...
  • home automation
    • simulating / Simulating a home automation, How to do it..., How it works...
  • HTML
    • about / Creating HTML manually
    • creating, manually / Getting ready, How to do it..., How it works...

I

  • IBM
    • URL / Introduction
  • iFunBox
    • URL / Getting ready
  • infix operator / How it works...
  • Instruments / Profiling an app
  • instruments
    • reference link / There's more...
  • interpreter
    • Swift, using as / Using Swift as an interpreter, How it works...
  • IP
    • location, checking / Checking where your IP is from, How to do it..., How it works...

J

  • JSONs
    • receiving / Receiving JSONs, How to do it..., How it works...

L

  • left-associative / How it works...
  • links
    • checking, of website / Links on our website, How to do it…, How it works...
  • LLDB
    • about / Debugging with LLDB
    • debugging with / How to do it..., How it works...
    • reference link, for documentation / There's more...
  • log file
    • writing into / Writing into a log file, Getting ready, How to do it..., How it works...

M

  • message
    • compressing / Compressing a message, How to do it..., How it works...
  • Model-View-Controller pattern / Introduction
  • multitasking
    • about / Introduction
  • musical symbols
    • URL, for wiki / Creating a factory of musical notes

N

  • NDHpple
    • URL / How to do it…
  • none-associative / How it works...
  • NSAssert / There's more…
  • NSMutableSet
    • about / There's more...
  • NSOperation / How it works...
  • NSSet
    • working with / How to do it..., How it works...
    • about / There's more...
  • NSThread / There's more...

O

  • object description
    • printing / Printing your object description, How to do it..., How it works...
  • Objective-C
    • URL, for documentation / There's more...
  • Objective-C, to Swift
    • code, porting from / Porting from one language to another, How it works...
  • Objective-C application
    • cab, calling / Calling a cab, Getting ready, How to do it..., How it works...
    • van, hiring / Getting ready, How to do it..., How it works...
  • Observer pattern / Simulating a home automation
  • old address book
    • using / Using your old address book, Getting ready, How to do it..., How it works...
  • options argument / There's more...

P

  • path recording app
    • creating / Leaving breadcrumbs, How to do it..., How it works...
  • perfect numbers
    • searching for / Searching for perfect numbers, How to do it..., How it works...
  • Perl / How it works...
  • phone activity
    • tracking / Tracking your phone activity, How to do it..., How it works...
  • photos
    • effects, adding / Adding effects to your photos, How to do it..., How it works...
  • pizzas
    • delivering / Delivering some pizzas, How to do it..., How it works...
  • playground
    • about / Creating the first playground
    • creating / Getting ready..., How to do it...
    • temperature, watching / Watching the temperature, How to do it..., How it works...
    • image, stretching / Stretching an image, How to do it..., How it works..., There's more...
  • postfix operator / How it works...
  • prefix operator / How it works...
  • priority list
    • creating / Creating a priority list, How to do it..., How it works...
  • priority queue
    • protocol, creating for / Creating a protocol for the priority queue, How to do it...
  • profiling
    • about / Profiling an app
  • project
    • control version system, adding to / Adding a control version system to an existing project, How to do it..., There's more...
  • property observer / How it works...
  • protocol
    • creating, for priority queue / Creating a protocol for the priority queue, How to do it...
  • PugiXml
    • URL / Getting ready

Q

  • quick look / Dangerous moves

R

  • range argument / There's more...
  • right-associative / How it works...

S

  • SEO app
    • creating / Creating an SEO app, How to do it..., How it works...
  • sets
    • working with / Working with sets, How to do it..., How it works...
    • creating / Creating your own set, Getting ready, How to do it..., How it works...
  • Singleton pattern
    • about / Writing into a log file
  • SmallTalk / Introduction
  • software design patterns
    • reference link / There's more...
  • SQLite
    • URL / How it works..., There's more...
    • references / There's more...
  • SQLite.swift
    • URL, for downloading / Getting ready
    • about / How it works...
  • SQLiteBrowser
    • URL / Getting ready
  • SQLite database
    • creating / Creating an SQLite database, Getting ready, How to do it..., How it works...
  • Standard Editor / How it works...
  • stock
    • controlling / Controlling your stock, How to do it...
  • structs
    • about / Introduction
  • Swift
    • using, as interpreter / Using Swift as an interpreter, How it works...
    • access levels / How it works...
    • about / Introduction
    • assembly code, using with / Using assembly code with Swift, How to do it..., How it works...
    • C++ code, sharing with / Sharing C++ code with Swift, Getting ready, How to do it..., How it works...
  • SwiftPP
    • URL / Sharing C++ code with Swift
  • Swift project
    • starting / Starting a Swift project, How to do it..., How it works...
    • options, using / Using Swift project options, How to do it...

T

  • tax income simulator
    • creating / The Tax income simulator, Getting ready, How to do it..., How it works...
  • text feature
    • enhancing / Beautifying your text, How to do it..., How it works...
  • tuples
    • working with / Finding the way out, How to do it..., How it works..., There's more...

U

  • UI classes
    • replacing / Replacing the UI classes, How to do it...
  • Unicode symbols
    • references / There's more...
  • user
    • quizzing / Quizzing the user, How to do it..., How it works...
  • user's answer
    • checking / Checking the right answer, How to do it..., How it works...

V

  • Version Editor / How it works...
  • voting devices / Voting devices, How to do it..., How it works...

W

  • WatchKit
    • reference link / There's more...
  • website
    • links, checking of / Links on our website, How to do it…, How it works...

X

  • Xcode
    • installing, from App Store / Installing Xcode from the App Store, How to do it...
  • xcodebuild command / There's more...
  • Xcode image
    • downloading / Downloading the Xcode image, How to do it...
  • XCPlayground / How it works...
  • XCPShowView function / There's more...
  • Xerox Labs / Introduction