This is the definitive guide to the Swift programming language and the i OS 9 SDK, and the source code has been updated to reflect Xcode 7 and Swift 2.
There’s up-to-date coverage of new Apple technologies as well as significant updates to existing material. You’ll have everything you need to create your very own apps for the latest i OS devices. Every single sample app in the book has been rebuilt from scratch using the latest Xcode and the latest 64-bit i OS 9-specific project templates, and designed to take advantage of the latest Xcode features.
Assuming little or no working knowledge of the new Swift programming language, and written in a friendly, easy-to-follow style, this book offers a complete soup-to-nuts course in i Phone, i Pad, and i Pod touch programming. The book starts with the basics, walking through the process of downloading and installing Xcode and the i OS 9 SDK, and then guides you though the creation of your first simple application.
From there, you’ll learn how to integrate all the interface elements i OS users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. You’ll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The art of table building will be demystified, and you’ll learn how to save your data using the i Phone file system. You’ll also learn how to save and retrieve your data using a variety of persistence techniques, including Core Data and SQLite. And there’s much more!
What You Will Learn:
Who This Book is For:
Содержание
1. Welcome to the Swift Jungle.- 2. Appeasing the Tiki Gods.- 3. Handling Basic Interaction.- 4. More User Interface Fun.- 5. Rotation and Adaptive Layout.- 6. Multiview Applications.- 7. Tab Bars and Pickers.- 8. Introduction to Table Views.- 9. Navigation Controllers and Table Views.- 10. Collection Views.- 11. i Pad Considerations.- 12. Application Settings and User Defaults.- 13. Basic Data Persistence.- 14. Hey! You! Get onto i Cloud!.- 15. Grand Central Dispatch, Background Processing, and You.- 16. Core Graphics: Drawing with Quartz.- 17. Getting Started with Sprite Kit.- 18. Taps, Touches, and Gestures.- 19. Where Am I? Finding Your Way with Core Location and Map Kit.- 20. Whee! Gyro and Accelerometer!.- 21. The Camera and Photo Library.- 22. Application Localization.- 23. Appendix: A Swift Introduction to Swift.
Об авторе
Kim Topley is a software engineer with over thirty years of experience ranging from mainframe microcode and the UNIX kernel to graphical user interfaces and mobile applications. He is the author of five books on various aspects of Java and Java FX and has been working with i OS since reading one of the first books published on the subject—the first edition of Beginning i Phone Development.