IOS 12 programming for beginners an introductory guide to IOS app development with Swift 4. 2 and Xcode 10
This book guides you through every aspect of iOS development. From Xcode and Swift, the building blocks of modern iOS development, you'll quickly gain a solid foundation to begin venturing deeper into your development journey
Main Author: | |
---|---|
Format: | eBook |
Language: | English |
Published: |
Birmingham, UK
Packt Publishing Ltd
2018
|
Edition: | Third edition |
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- Creating a variable with a stringCreating a variable with an integer (int); Debug and print()
- detecting your bugs; Adding floating-point numbers; Creating a Boolean; Why constants versus variables?; Comments
- leaving yourself notes or reminders; Type safety and type inference; Concatenating strings; String interpolation; Operations with our integers; Increment and decrement; Comparison operators; Summary; Chapter 3: Building on the Swift Foundation; Creating a Playground project; The if statements
- having fun with logic statements; Optionals and optional bindings; Why optionals?
- Table View ControllersCollection View Controllers; Navigation Controllers; Tab Bar Controllers; Storyboards; Segues; Stack Views; Auto Layout; Model View Controller (MVC); App tour; The Explore tab; Locations; Restaurant listings; Restaurant detail; The Map tab; Project setup; Creating a new project; Summary; Chapter 7: Setting Up the Basic Structure; Starting from scratch; Storyboard setup; Adding our app assets; Storyboards; Creating our launch screen; Adding a Navigation Controller; Summary; Chapter 8: Building Our App Structure in Storyboard; Adding a Collection View Controller
- Adding and updating dictionary elementsAccessing an item in a dictionary; Iterating over dictionary values; Iterating over dictionary keys; Iterating over dictionary keys and values; Checking the number of items in a dictionary; Removing items from a dictionary; Sets; Creating an empty set; Creating a set with an array literal; Creating a mutable set; Adding items to a set; Checking whether a set contains an item; Iterating over a set; Intersecting two sets; Joining two sets; Removing items from a set; Summary; Chapter 6: Starting the UI Setup; Useful terms; View Controllers
- Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Getting Familiar with Xcode; Getting started; The Xcode interface; Navigator panel; Standard editor; Utilities panel; Debug panel; Toolbar; Generic iOS device; iOS device; Connecting wirelessly; Window pane controls; Summary; Chapter 2: Building a Foundation with Swift; Playgrounds
- an interactive coding environment; Data types
- where it all starts; String; Integer data type; Floating-point numbers; Booleans; Variables and constants
- where data is held
- FunctionsSummary; Chapter 4: Digging Deeper; Creating a Playground project; Ranges; Closed range; Half-closed range; Control flow; The for ... in loop; One-sided range; The while loop; The repeat ... while loop; Summary; Chapter 5: Digging into Collections; Arrays; Creating an empty array; Creating an array with initial values; Creating a mutable array; Adding items to an array; Checking the number of elements in an array; Checking for an empty array; Retrieving a value from an array; Iterating over an array; Removing items from an array; Dictionaries; Creating a dictionary