Book Image

Real-World iOS Projects [Video]

By : Jonathan Crooke
Book Image

Real-World iOS Projects [Video]

By: Jonathan Crooke

Overview of this book

<p>Do you have some programming experience from a school course? Have you dabbled in your free time, but are using outdated technology in your current career? Are you overwhelmed by the complexity of the iOS ecosystem?</p> <p>Well, fear not! With this course, we'll get you started right away. You'll be taken through the development of three native iOS applications, using the core UIKit application framework and the latest version of Apple's new and exciting Swift programming language. We'll start by showing you how to get Xcode and guide you through its help documentation and debugger. Then you will build your first app from scratch - a custom web browser with your own custom controls, page history, and sharing functionality.</p> <p>Once the web browser is ready, you'll head straight into your second project, which is a note-taking app, which will permit full text editing and will store its data as JSON on your local device's file system. Your final project will be a rich, smooth, and colorful media-heavy app that navigates movies in the iTunes store, smoothly browses through posters, and explores their details.</p> <p>By the end of the course, after focusing on getting real results, you'll be equipped with the skills to get started turning your development career dream into a reality!</p> <p>The code bundle for this video course is available at: <a style="color: #fa8d11;" href="https://github.com/PacktPublishing/Real-World-iOS-Projects" target="blank">https://github.com/PacktPublishing/Real-World-iOS-Projects</a>.</p> <h1>Style and Approach</h1> <p>This tutorial-based course will guide you through the creation of three small, but feature-rich and beautiful, native iOS projects. Best practices will be provided throughout, but with a view to patterns and syntax that are approachable for Swift/Cocoa Touch beginners. Development sections are supported by quizzes and, in later sections, suggested tasks to guide the learner in adding features and developing independently.</p>
Table of Contents (4 chapters)
Chapter 4
Building iTunes Movies
Content Locked
Section 20
Adding Pull-to-Refresh
Our app is now done! But as ever, there's plenty more we could do. Our first improvement is to add the common pull-to-refresh pattern to allow the user to reload the feed. This is very easy with the native refresh control component. - Refactor a little to prepare - Add the refresh control to the view controller and collection view - Make sure that the refresh control stops when the load finishes