更新时间:2021-07-09 19:05:10
封面
版权信息
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
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
Chapter 3. Say Hello
What is a console application?
Setting up our first Xcode playground
A quick look at the Xcode interface
Creating our program
Chapter 4. Favorite Things
Variables and constants
Chapter 5. Factories
String and Int
Chapter 6. Making Pizza
How the iPhone runs our program
A simple program without functions
What is a function?
Making our own function
Chapter 7. Toy Bin
Collection types
Chapter 8. Smarter Toy Bin
Buttercup
Find the buttercup
Chapter 9. Making Some Friends
OOP
Modeling real-world objects
Our first class
Chapter 10. Pokémon Battle
Pokémon type
Chapter 11. Simon Says
GUI
Laying out a view
Simon says
Chapter 12. Starry Night
A deep pe into UI in iOS
The UIViewController life cycle
Chapter 13. Space Pizza Delivery
Space Pizza
Chapter 14. Movie Night - iOS App
How to create a list
Our final application: Movie Night
The interface
Deploying our application to our iPhone