Building your first Native iOs App with an API Backend

Post on 10-May-2015

4.386 views 1 download

Tags:

Transcript of Building your first Native iOs App with an API Backend

Build your first Native iOS app

with an API Backend!

twitter:@mdobs@timburks

Matt Dobson@mdobsmatt.d@apigee.comTim Burks@timburkstim@radtastical.com

Do you have XCode installed?

I work @ Apigee.

We help power eBayBest Buy, Walgreens, Gilt Groupe, NewEgg, Cars.com, Dell, Getty Images, GraceNote, Shazam, HomeAway, Pearson, cheezburger

We’ve organized trainings for HTML5, but this is our first for iOS!

Why do we do this?Why free?

Apigee is always free for developers.

- Hosted (25GB limit)- Open-source (full)- Private clusters

1. Objective - C2. API Backend3. App Store

Have you developed for iOS before? What do you want to learn today?

Objective-C

What is Objective-C?

Object Oriented.

.h and .m files

NS prefixes

Brackets, Brackets, Brackets

Download the project

j.mp/ios-books

Our books app!

Setting up our UI

Model ViewController

Storyboards

Master-Detail App

Segues

Setup a segue in our app

IBOutlets

Setup outlets for our detail view

Set up Controllers

Build with a Backend.

Why use a Backend?

It’s remote data storage you can access in your code.

It’s like iCloud or Dropbox, because it lets you sync data across devices.

ServerInfrastructure

AppCode

SDK API

Usergrid? Apigee?

Let’s take a look at Apigee

j.mp/apigee-sign-up

Add some data

SDKs available for…

JS, node.js, iOS, Android, Ruby, Rails,C#, Java, WP8, etc.

Getting data

Answer:

j.mp/all-books

and

j.mp/book-title

Storing Data

Answer:

j.mp/creating-book

Deleting Data

Answer:

j.mp/delete-book

App Store

Submitting

Create App Id

Create Certificate

Create Provisioning profile

iTunes Connect

Approval Process

App Store Launch

Congrats!

What else can be done?

Push NotificationsGeolocationUser ManagementFile StoragePicture SharingSocial NetworkingSecurity

Build your own...

iCloudRetail StoreSocial Networks

Scale to Millions

Advanced Class? Training for your company? Questions?

matt.d@apigee.com

Ask for help!Announce projects!

j.mp/app-craft

Sign up now :)

Thanks!

We’d love feedback on how to make it better. Let us know!

matt.d@apigee.com