Cargando…

iOS 13 programming for beginners : get started with building iOS apps with Swift 5 and Xcode 11 /

Functions and Closures -- Technical requirements -- Understanding functions -- Creating a function -- Using custom argument labels -- Using nested functions -- Using functions as return types -- Using functions as parameters -- Using a guard statement to exit a function early -- Understanding closur...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Sahar, Ahmad (Autor), Clayton, Craig (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2020.
Edición:Fourth edition.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Intro
  • Title Page
  • Copyright and Credits
  • About Packt
  • Contributors
  • Table of Contents
  • Preface
  • Section1: Swift
  • Getting Familiar with Xcode
  • Technical requirements
  • Downloading and installing Xcode from the App Store
  • Understanding the Xcode user interface
  • Running the app in the Simulator
  • Understanding the No Device and Build Only Device menu items
  • Using an iOS 13 device for development
  • Trusting the Developer App certificate on your iOS device
  • Connecting an iOS device wirelessly
  • Summary
  • Simple Values and Types
  • Technical requirements
  • Understanding Swift playgrounds
  • Customizing fonts and colors
  • Exploring data types
  • Storing integers
  • Storing floating-point numbers
  • Storing Booleans
  • Storing strings
  • Using common data types in the playground
  • Exploring constants and variables
  • Understanding type inference and type safety
  • Using type annotation to specify a type
  • Type safety
  • Exploring operators
  • Using arithmetic operators
  • Using compound assignment operators
  • Using comparison operators
  • Using logical operators
  • Performing string operations
  • Using the print() instruction
  • Summary
  • Conditionals and Optionals
  • Technical requirements
  • Introducing conditionals
  • Using if statements
  • Using switch statements
  • Introducing optionals
  • Using optionals and optional binding
  • Summary
  • Range Operators and Loops
  • Technical requirements
  • Range operators
  • Loops
  • The for-in loop
  • The while loop
  • The repeat-while loop
  • Summary
  • Collection Types
  • Technical requirements
  • Understanding arrays
  • Creating an array
  • Checking the number of elements in an array
  • Adding a new item to an array
  • Accessing an array element
  • Assigning a new value to an index
  • Removing an item from an array
  • Iterating over an array
  • Understanding dictionaries
  • Creating a dictionary
  • Checking the number of elements in a dictionary
  • Adding a new item to a dictionary
  • Accessing a dictionary element
  • Assigning a new value to a key
  • Removing an item from a dictionary
  • Iterating over a dictionary
  • Understanding sets
  • Creating a set
  • Checking the number of elements in a set
  • Adding a new item to a set
  • Checking whether a set contains an item
  • Removing an item from a set
  • Iterating over a set
  • Set operations
  • Set membership and equality