Swift iOS programming for kids unleash your child's developer potential through fun projects and help them learn how to create iOS apps in Swift

Unleash your child's developer potential through fun projects and help them learn how to create iOS apps in Swift About This Book Children can express their creativity while learning through interactive Swift Playgrounds Empower children to think critically about problems Learning programming b...

Descripción completa

Detalles Bibliográficos
Otros Autores: Sommer, Steffen D., author (author), Campagno, Jim, author
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, London ; Mumbai, [India] : Packt Publishing 2017.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630112506719
Tabla de Contenidos:
  • Cover
  • Copyright
  • Credits
  • About the Authors
  • About the Reviewer
  • www.PacktPub.com
  • Customer Feedback
  • Table of Contents
  • Preface
  • Chapter 1: What is Programming?
  • The Swift programming language
  • Why is programming important?
  • What you will learn from this book
  • Summary
  • Chapter 2: Getting Set Up
  • Xcode
  • Downloading Xcode
  • Playground
  • Summary
  • Chapter 3: Say Hello
  • What is a console application?
  • Setting up our first Xcode playground
  • Creating the playground
  • Saving our playground
  • Removing what is unnecessary
  • A quick look at the Xcode interface
  • Creating our program
  • A quick look at Xcode errors
  • Xcode and autocompletion
  • Summary
  • Chapter 4: Favorite Things
  • Variables and constants
  • Variables
  • Constants
  • Summary
  • Chapter 5: Factories
  • String and Int
  • Double
  • Summary
  • Chapter 6: Making Pizza
  • How the iPhone runs our program
  • A simple program without functions
  • What is a function?
  • A function can receive some input
  • A function can be pure
  • A function can return something
  • A look at functions in Swift
  • Making our own function
  • Summary
  • Chapter 7: Toy Bin
  • Collection types
  • Array
  • Dictionary
  • Optionals
  • Summary
  • Chapter 8: Smarter Toy Bin
  • Buttercup
  • Learning the for-in loop
  • Conditionals
  • Learning for-loops and if-statements
  • Append method
  • Find the buttercup
  • Summary
  • Chapter 9: Making Some Friends
  • OOP
  • Modeling real-world objects
  • Modeling a mug
  • Modeling a person
  • Our first class
  • Instance properties
  • Instance methods
  • Making objects interact with each other
  • Adding more classes to the mix
  • Summary
  • Chapter 10: Pokémon Battle
  • Pokémon type
  • Initializer syntax
  • Functions and types
  • Charizard versus pikachu
  • Hug function
  • Summary
  • Chapter 11: Simon Says
  • GUI
  • Laying out a view.
  • Setting up a new iOS project
  • Xcode's Interface Builder and storyboards
  • Simon says
  • Designing the interface
  • Summary
  • Chapter 12: Starry Night
  • A deep dive into UI in iOS
  • The view hierarchy
  • Frames and bounds
  • Auto Layout
  • The UIViewController life cycle
  • Starry Night
  • Designing the UI
  • Adding functionality to our interface
  • Summary
  • Chapter 13: Space Pizza Delivery
  • Space Pizza
  • Xcode
  • Enumerations
  • Switch statement
  • Planet
  • Type property
  • Space junk
  • Pizza service
  • Property observers
  • Storyboard and view controller
  • Hooking everything up
  • Space junk buttons
  • Updating the cost
  • Summary
  • Chapter 14: Movie Night - iOS App
  • How to create a list
  • The data source
  • The delegate
  • UITableViewController
  • Our final application: Movie Night
  • The interface
  • Displaying items in our list
  • Dynamically adding items to our list
  • Deleting items from our list
  • Persisting our movies
  • Deploying our application to our iPhone
  • Summary
  • Index.