0%

Book Description

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 basics can help children gain confidence in problem solving
  • Help children put their imagination into action building their first iOS app

Who This Book Is For

Children who are curious about the technology we use in our daily lives and want to know how it works can use this book to learn about programming and building their first iOS app. No prior programming experience is necessary.

What You Will Learn

  • Basic programming and coding fundamentals
  • Write code using the fun and interactive Swift Playgrounds app
  • Make animations, including creating your own starry night
  • Utilise functions by making pizza in code
  • Create an interactive toy bin
  • Learn how to use control flow statements to further enhance your toy bin
  • Build a simple movie night app working with tableviews and arrays

In Detail

This book starts at the beginning by introducing programming through easy to use examples with the Swift Playgrounds app. Kids are regularly encouraged to explore and play with new concepts to support knowledge acquisition and retention ? these newly learned skills can then be used to express their own unique ideas. Children will be shown how to create their first iOS application and build their very own movie night application.

Style and approach

This is a project-based guide with an engaging tone that uses a visually rich format. It explains the concepts in clear language and uses lots of pictures, cartoons, and examples. There is a set of practical exercises to be completed.

Table of Contents

  1. Swift iOS Programming for Kids
    1. Swift iOS Programming for Kids
    2. Credits
    3. About the Authors
    4. About the Reviewer
    5. www.PacktPub.com
      1. Why subscribe?
    6. Customer Feedback
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    8. 1. What is Programming?
      1. The Swift programming language
      2. Why is programming important?
      3. What you will learn from this book
      4. Summary
    9. 2. Getting Set Up
      1. Xcode
        1. Downloading Xcode
        2. Playground
      2. Summary
    10. 3. Say Hello
      1. What is a console application?
      2. Setting up our first Xcode playground
        1. Creating the playground
        2. Saving our playground
        3. Removing what is unnecessary
      3. A quick look at the Xcode interface
      4. Creating our program
        1. A quick look at Xcode errors
        2. Xcode and autocompletion
      5. Summary
    11. 4. Favorite Things
      1. Variables and constants
        1. Variables
        2. Constants
      2. Summary
    12. 5. Factories
      1. String and Int
        1. Double
      2. Summary
    13. 6. Making Pizza
      1. How the iPhone runs our program
      2. A simple program without functions
      3. What is a function?
        1. A function can receive some input
        2. A function can be pure
        3. A function can return something
        4. A look at functions in Swift
      4. Making our own function
      5. Summary
    14. 7. Toy Bin
      1. Collection types
        1. Array
        2. Dictionary
        3. Optionals
      2. Summary
    15. 8. Smarter Toy Bin
      1. Buttercup
        1.  Learning the for-in loop
        2. Conditionals
        3. Learning for-loops and if-statements
        4. Append method
      2. Find the buttercup
      3. Summary
    16. 9. Making Some Friends
      1. OOP
      2. Modeling real-world objects
        1. Modeling a mug
        2. Modeling a person
      3. Our first class
        1. Instance properties
        2. Instance methods
        3. Making objects interact with each other
        4. Adding more classes to the mix
      4. Summary
    17. 10. Pokémon Battle
      1. Pokémon type
        1. Initializer syntax
        2. Functions and types
        3. Charizard versus pikachu
        4. Hug function
      2. Summary
    18. 11. Simon Says
      1. GUI
      2. Laying out a view
        1. Setting up a new iOS project
        2. Xcode's Interface Builder and storyboards
      3. Simon says
        1. Designing the interface
      4. Summary
    19. 12. Starry Night
      1. A deep dive into UI in iOS
        1. The view hierarchy
        2. Frames and bounds
        3. Auto Layout
      2. The UIViewController life cycle
        1. Starry Night
          1. Designing the UI
          2. Adding functionality to our interface
      3. Summary
    20. 13. Space Pizza Delivery
      1. Space Pizza
        1. Xcode
        2. Enumerations
        3. Switch statement
        4. Planet
        5. Type property
        6. Space junk
        7. Pizza service
        8. Property observers
        9. Storyboard and view controller
        10. Hooking everything up
        11. Space junk buttons
        12. Updating the cost
      2. Summary
    21. 14. Movie Night - iOS App
      1. How to create a list
        1. The data source
        2. The delegate
        3. UITableViewController
      2. Our final application: Movie Night
      3. The interface
        1. Displaying items in our list
        2. Dynamically adding items to our list
        3. Deleting items from our list
        4. Persisting our movies
      4. Deploying our application to our iPhone
      5. Summary
3.143.9.115