Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
iOS 12 Programming for Beginners

You're reading from   iOS 12 Programming for Beginners An introductory guide to iOS app development with Swift 4.2 and Xcode 10

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher Packt
ISBN-13 9781789348668
Length 692 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Craig Clayton Craig Clayton
Author Profile Icon Craig Clayton
Craig Clayton
Arrow right icon
View More author details
Toc

Table of Contents (27) Chapters Close

Preface 1. Getting Familiar with Xcode 2. Building a Foundation with Swift FREE CHAPTER 3. Building on the Swift Foundation 4. Digging Deeper 5. Digging into Collections 6. Starting the UI Setup 7. Setting Up the Basic Structure 8. Building Our App Structure in Storyboard 9. Finishing Up Our App Structure in Storyboard 10. Designing Cells 11. Getting Started with the Grid 12. Getting Data into Our Grid 13. Getting Started with the List 14. Where Are We? 15. Working with an API 16. Displaying Data in Restaurant Detail 17. Foodie Reviews 18. Working with Photo Filters 19. Understanding Core Data 20. Saving Reviews 21. Universal 22. iMessages 23. Notifications 24. SiriKit 25. Beta and Store Submission 26. Other Books You May Enjoy

Preface

In this book, we will build a restaurant reservation app called Let's Eat. We will start the book off by exploring Xcode, our programming environment, which is also known as the Interface Development Environment (IDE). Next, you will start learning the foundations of Swift, the programming language used in iOS apps. Once we are comfortable with the basics of Swift, we will dig deeper to build a more solid foundation.

Once we have a solid foundation of using Swift, we will start creating the visual aspects of our Let's Eat app. During this process, we will work with storyboards and connect our app's structure together using segues. With our UI complete, we will go over the different ways in which we can display data. To display our data in a grid, we will use Collection Views, and to display our data in a list, we will use Table Views.

We will also look at how to add basic and custom annotations on to a map. Finally, it's time to get real data; we will look at what an Application Programming Interface (API) is and how we can get actual restaurant data into our Collection Views, Table Views, and Map.

We now have a complete app, but how about adding some bells and whistles? The first place where we can add a feature will be the restaurant detail page, where we can add restaurant reviews. Here, users will be able to take or choose a picture and apply a filter to their picture. They will also be able to give the restaurant a rating as well as a review. When they are done, we will save this data using Core Data.

Since we built our app to work on both iPhone and iPad, we should add the ability to make our app support iPad multitasking. Doing this will allow our app to be open alongside another app at the same time.

If we want to be able to send our reservation to a friend, we can create a custom UI for iMessages, which will send them the details for the reservation along with the app it came from. The one thing missing from our app is the ability to notify the user with a custom notification to alert when they have an upcoming reservation.

Finally, let's create quick access by using SiriKit and Siri to request money and send reservations. Now that we have added some bells and whistles, let's get this app to our friends using TestFlight, and finally get it into the App Store.

lock icon The rest of the chapter is locked
Next Section arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime