building your first native ios app with an api backend

62
Build your first Native iOS app with an API Backend! twitter:@mdobs @timburks

Upload: apigee

Post on 10-May-2015

4.387 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Building your first Native iOs App with an API Backend

Build your first Native iOS app

with an API Backend!

twitter:@mdobs@timburks

Page 2: Building your first Native iOs App with an API Backend

Matt [email protected]@apigee.comTim Burks@[email protected]

Page 3: Building your first Native iOs App with an API Backend

Do you have XCode installed?

Page 4: Building your first Native iOs App with an API Backend

I work @ Apigee.

Page 5: Building your first Native iOs App with an API Backend

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

Page 6: Building your first Native iOs App with an API Backend

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

Page 7: Building your first Native iOs App with an API Backend

Why do we do this?Why free?

Page 8: Building your first Native iOs App with an API Backend

Apigee is always free for developers.

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

Page 9: Building your first Native iOs App with an API Backend

1. Objective - C2. API Backend3. App Store

Page 10: Building your first Native iOs App with an API Backend

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

Page 11: Building your first Native iOs App with an API Backend

Objective-C

Page 12: Building your first Native iOs App with an API Backend

What is Objective-C?

Page 13: Building your first Native iOs App with an API Backend

Object Oriented.

Page 14: Building your first Native iOs App with an API Backend

.h and .m files

Page 15: Building your first Native iOs App with an API Backend

NS prefixes

Page 16: Building your first Native iOs App with an API Backend

Brackets, Brackets, Brackets

Page 17: Building your first Native iOs App with an API Backend

Download the project

Page 18: Building your first Native iOs App with an API Backend

j.mp/ios-books

Page 19: Building your first Native iOs App with an API Backend

Our books app!

Page 20: Building your first Native iOs App with an API Backend

Setting up our UI

Page 21: Building your first Native iOs App with an API Backend

Model ViewController

Page 22: Building your first Native iOs App with an API Backend

Storyboards

Page 23: Building your first Native iOs App with an API Backend

Master-Detail App

Page 24: Building your first Native iOs App with an API Backend

Segues

Page 25: Building your first Native iOs App with an API Backend

Setup a segue in our app

Page 26: Building your first Native iOs App with an API Backend

IBOutlets

Page 27: Building your first Native iOs App with an API Backend

Setup outlets for our detail view

Page 28: Building your first Native iOs App with an API Backend
Page 29: Building your first Native iOs App with an API Backend

Set up Controllers

Page 30: Building your first Native iOs App with an API Backend

Build with a Backend.

Page 31: Building your first Native iOs App with an API Backend

Why use a Backend?

Page 32: Building your first Native iOs App with an API Backend

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

Page 33: Building your first Native iOs App with an API Backend

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

Page 34: Building your first Native iOs App with an API Backend

ServerInfrastructure

AppCode

SDK API

Page 35: Building your first Native iOs App with an API Backend

Usergrid? Apigee?

Page 36: Building your first Native iOs App with an API Backend

Let’s take a look at Apigee

j.mp/apigee-sign-up

Page 37: Building your first Native iOs App with an API Backend

Add some data

Page 38: Building your first Native iOs App with an API Backend

SDKs available for…

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

Page 39: Building your first Native iOs App with an API Backend

Getting data

Page 40: Building your first Native iOs App with an API Backend

Answer:

j.mp/all-books

and

j.mp/book-title

Page 41: Building your first Native iOs App with an API Backend

Storing Data

Page 42: Building your first Native iOs App with an API Backend

Answer:

j.mp/creating-book

Page 43: Building your first Native iOs App with an API Backend

Deleting Data

Page 44: Building your first Native iOs App with an API Backend

Answer:

j.mp/delete-book

Page 45: Building your first Native iOs App with an API Backend

App Store

Page 46: Building your first Native iOs App with an API Backend

Submitting

Page 47: Building your first Native iOs App with an API Backend

Create App Id

Page 48: Building your first Native iOs App with an API Backend

Create Certificate

Page 49: Building your first Native iOs App with an API Backend

Create Provisioning profile

Page 50: Building your first Native iOs App with an API Backend

iTunes Connect

Page 51: Building your first Native iOs App with an API Backend

Approval Process

Page 52: Building your first Native iOs App with an API Backend

App Store Launch

Page 53: Building your first Native iOs App with an API Backend

Congrats!

Page 54: Building your first Native iOs App with an API Backend

What else can be done?

Page 55: Building your first Native iOs App with an API Backend

Push NotificationsGeolocationUser ManagementFile StoragePicture SharingSocial NetworkingSecurity

Page 56: Building your first Native iOs App with an API Backend

Build your own...

Page 57: Building your first Native iOs App with an API Backend

iCloudRetail StoreSocial Networks

Page 58: Building your first Native iOs App with an API Backend

Scale to Millions

Page 59: Building your first Native iOs App with an API Backend

Advanced Class? Training for your company? Questions?

[email protected]

Page 60: Building your first Native iOs App with an API Backend

Ask for help!Announce projects!

j.mp/app-craft

Sign up now :)

Page 61: Building your first Native iOs App with an API Backend

Thanks!

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