Swift 4 programming cookbook 50 task-oriented recipes to make you productive with Swift 4

Over 50 recipes to help you quickly and efficiently build applications with Swift 4 and Xcode 9 About This Book Write robust and efficient code and avoid common pitfalls using Swift 4 Get a comprehensive coverage of the tools and techniques needed to create multi-platform apps with Swift 4 Packed wi...

Descripción completa

Detalles Bibliográficos
Otros Autores: Moon, Keith , author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, England ; Mumbai, [India] : Packt 2017.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630511806719
Tabla de Contenidos:
  • Cover
  • Title Page
  • Copyright
  • Credits
  • About the Author
  • About the Reviewer
  • www.PacktPub.com
  • Customer Feedback
  • Table of Contents
  • Preface
  • Chapter 1: Swift Building Blocks
  • Introduction
  • Your first Swift program
  • Getting ready
  • Downloading Xcode
  • How to do it...
  • There's more...
  • See also
  • Strings, Ints, Floats, and Bools
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Optionals, unwrap, and force unwrap
  • Getting started
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Functions
  • How to do it...
  • How it works...
  • There's more...
  • Default parameter values
  • Parameter overloading
  • See also
  • Object classes
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Structs
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Enumerations
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Methods and computed variables
  • Associated values
  • See also
  • Closures
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Protocols
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Chapter 2: Building on the Building Blocks
  • Introduction
  • Bundling variables into tuples
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Ordering your data with arrays
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Containing your data with sets
  • How to do it...
  • How it works...
  • Union
  • Intersection
  • Symmetric difference
  • Subtracting
  • There's more...
  • See also
  • Storing key-value pairs with Dictionaries
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also.
  • Subscripts for custom types
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Changing your name with typealias
  • How to do it...
  • There's more...
  • See also
  • Getting property changing notifications using property observers
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Controlling access with access control
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Extending functionality with extensions
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Chapter 3: Data Wrangling with Swift Control Flow
  • Introduction
  • Making decisions with if/else
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Conditional unwrap
  • Chain unwrapping Optionals
  • Enum with associated values
  • See also
  • Switch it up
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • For the love of loops
  • How to do it...
  • How it works...
  • See also
  • While loops
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Try, throw, do and, catch - Swift error handling
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Checking up front with guard
  • How to do it...
  • How it works...
  • See also
  • Doing it later with defer
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Bailing out with fatalError and precondition
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Chapter 4: Generics, Operators, and Nested Types
  • Introduction
  • Using generics with types
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Using generics with functions
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Using generics with protocols.
  • Getting ready
  • How to do it...
  • There's more...
  • See also
  • Advanced operators
  • Getting ready
  • How to do it...
  • See also
  • Option set
  • How to do it...
  • How it works...
  • See also
  • Create custom operators
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Nested types
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Chapter 5: Beyond the Standard Library
  • Introduction
  • Foundation
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Networking
  • How to do it...
  • How it works...
  • See also
  • JSON
  • Getting ready
  • How to do it...
  • There's more...
  • See also
  • XML
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Cocoa Touch
  • Getting ready
  • How to do it...
  • There's more...
  • See also
  • Chapter 6: Swift Playgrounds
  • Introduction
  • Using Swift Playgrounds for UI
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Import Resources into Playgrounds
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Import Code into Playgrounds
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Multi-Page Playgrounds
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Chapter 7: Server-Side Swift
  • Introduction
  • Swift on Ubuntu
  • Getting started
  • How to do it...
  • There's more...
  • Building a REST API using Vapor
  • Getting started
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Persistence with Vapor using Postgres
  • Getting started
  • How to do it...
  • There's more...
  • See also
  • Hosting your Vapor app on Heroku
  • Getting started
  • How to do it...
  • See also
  • Chapter 8: Performance and Responsiveness in Swift
  • Introduction.
  • Value and reference semantics
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Dispatch Queues
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Concurrent queues and dispatch groups
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Operations
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Index.