Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
iOS on Rails (Beta)
iOS on Rails (Beta)
Introduction
Why this book?
Who is this book for?
Introduction to our example application and setup
Example application
Setting up our project
Parsing incoming JSON requests
Generating outgoing JSON responses
Versioning
API Documentation
API Security
Creating a GET request
It all starts with a request spec
Model
Controller
View
Putting it all together
Creating a POST request
Forgery protection strategy and Rails 4
It all starts with a request spec
It all starts with a request spec, part II
Creating a PATCH request
It all starts with a request spec
It all starts with a request spec, part II
Creating a geocoded GET request
What is geocoding?
Geocoding in Humon: choosing a library
It all starts with a request spec
Controller
Model (and Gemfile)
View
It all starts with a request spec, part II
Controller
Introduction
A New Xcode Project
Alpha and Beta Schemes
Setting Up the New Schemes
Managing Dependencies
Using CococaPods
CocoaPods Setup
Humon's Podfile
The Mobile App's Skeleton
The Map View Controller
Create the New View Controller
Set the Root View Controller
Create the MapView
Create the Add Button
The Add an Event View Controller
Subclassing UITableViewController
Linking the Add Button to the HUMAddEventViewController
A Rails API Client With NSURLSession
Creating a Singleton Client Object
Creating a Session for Handling Requests
Setting the Session Headers
A Rails API Client With AFNetworking
Declare the App Secret
Creating a Singleton Client Object
Setting the Session Headers
The User Object
Creating the User Session Object
Posting a User With NSURLSession
Declaring a Task for Making Requests
Creating a Task for Making Requests
Responding to the Completion of the Task
Setting the Headers Conditionally
Posting a User With AFNetworking
Declaring a Task for Making Requests
Creating a Task for Making Requests
Setting the Headers Conditionally
Making the POST User Request
The Event Object
Methods for Initializing an Event
Formatting the Event's Date
Posting an Event With NSURLSession
Declaring a Task for Making Requests
Creating a Task for Making Requests
Handle the Response
Posting an Event With AFNetworking
Declaring a Task for Making Requests
Creating a Task for Making Requests
Making the POST Event Request
Creating a New Init Method
Adding a Submit Event Method
Using the New Init Method
Posting with the Event View Controller
Creating a Custom Cell
Using a Custom Cell
Reflecting Cell Input
Getting Events With NSURLSession
Declaring the Get Events Method
Creating the Get Events Request
Creating the Get Events Task
Getting Events With AFNetworking
Declaring the Get Events Method
Creating the Get Events Request
Displaying Events on the Map
Calling the Get Event Method
Cancelling Get Event Tasks
Updating the Map with New Events
Checking Event Equality
Viewing Individual Events
Showing a Callout for an Event
Pushing an Event View Controller
Removing the Submit Button when Viewing
Finishing Touches
← Prev
Back
Next →
← Prev
Back
Next →