Consuming Web Services and Using Local Storage on iOS
This course demonstrates the fundamental techniques for downloading, reading, and writing data in iOS apps.
What you'll learn
This course demonstrates the fundamental techniques used for downloading, reading and writing data in iOS apps. You’ll learn how to download data from an XML web service, parse it and display it in your app. You’ll also see how to perform the same task with a service that serves JSON data. Techniques for storing data locally on an iOS device are covered. These include archiving custom objects as well as reading and writing objects to and from property lists. You will also learn how to use the NSUserDefaults class to read and write simple data such as user preferences. All apps use data of some kind and this course will teach you the fundamental skills you need to get started working with data on the iOS platform. Follow along as we build an iPhone app from scratch and add new functionality in each module.
Table of contents
- Version Check 0m
- Course Introduction 2m
- Module Overview 1m
- Create a Model Class 1m
- Demo: Review XML and Create Project 4m
- Making a Service Request 3m
- Demo: Create a Service Request for Courses 2m
- Using NSXMLParser 2m
- Adopting the NSXMLParserDelegate Protocol 6m
- Demo: Parse XML and Display Data 10m
- Summary 1m
- Introduction 1m
- What is a Property List? 2m
- Creating Property Lists in Xcode 1m
- Demo: Creating Property Lists in Xcode 2m
- Binary versus XML Storage 1m
- Reading and Writing XML Property Lists 2m
- Reading and Writing Binary Property Lists 5m
- Demo: Reading and Writing a Binary Property List 10m
- Summary 1m