Book description
Start building your very own mobile apps with this comprehensive introduction to Swift and object-oriented programming
About This Book- A complete beginner's guide to Swift programming language
- Understand core Swift programming concepts and techniques for creating popular iOS apps
- Start your journey toward building mobile app development with this practical guide
This book is for beginners who are new to Swift or may have some preliminary knowledge of Objective-C. If you are interested in learning and mastering Swift in Apple's ecosystem, namely mobile development, then this book is for you.
What You Will Learn- Become a pro at iOS development by creating simple-to-complex iOS mobile applications
- Master Playgrounds, a unique and intuitive approach to teaching Xcode
- Tackle the basics, including variables, if clauses, functions, loops and structures, classes, and inheritance
- Model real-world objects in Swift and have an in-depth understanding of the data structures used, along with OOP concepts and protocols
- Use CocoaPods, an open source Swift package manager to ease your everyday developer requirements
- Develop a wide range of apps, from a simple weather app to an Instagram-like social app
- Get ahead in the industry by learning how to use third-party libraries efficiently in your apps
Swift Language is now more powerful than ever; it has introduced new ways to solve old problems and has gone on to become one of the fastest growing popular languages. It is now a de-facto choice for iOS developers and it powers most of the newly released and popular apps. This practical guide will help you to begin your journey with Swift programming through learning how to build iOS apps.
You will learn all about basic variables, if clauses, functions, loops, and other core concepts; then structures, classes, and inheritance will be discussed. Next, you'll dive into developing a weather app that consumes data from the internet and presents information to the user. The final project is more complex, involving creating an Instagram like app that integrates different external libraries. The app also uses CocoaPods as its package dependency manager, to give you a cutting-edge tool to add to your skillset. By the end of the book, you will have learned how to model real-world apps in Swift.
Style and approachThis book has a very practical and hands-on approach towards teaching the user the new and advanced features of Swift.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Swift Basics – Variables and Functions
- Getting Familiar with Xcode and Playgrounds
- Creating a Minimal Mobile App
- Structures, Classes, and Inheritance
- Adding Interactivity to Your First App
- How to Use Data Structures, OOP, and Protocols
- Developing a Simple Weather App
- Introducing CocoaPods and Project Dependencies
- Improving a Version of a Weather App
- Building an Instagram-Like App
- Instagram-Like App Continued
- Contributing to an Open Source Project
- Other Books You May Enjoy
Product information
- Title: Learn Swift by Building Applications
- Author(s):
- Release date: May 2018
- Publisher(s): Packt Publishing
- ISBN: 9781786463920
You might also like
book
iOS Development with Swift
iOS Development with Swift is a hands-on guide to creating apps for iPhone and iPad using …
video
The Complete iOS 11 and Swift Developer Course - Build 20 Apps
Dreaming of developing an app? Maybe you’ve got a vision, some inspiration and you’re ready to …
book
Beginning Xcode: Swift Edition
Beginning Xcode, Swift Edition will not only get you up and running with Apple's latest version …
book
Build Location Apps on iOS with Swift: Use Apple Maps, Google Maps, and Mapbox to Code Location Aware Mobile Apps
Work with Apple Maps, Google Maps, and Mapbox in iOS with Swift programming. Guided by practical …