![Page 1: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/1.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/2.jpg)
Matt [email protected]@apigee.comTim Burks@[email protected]
![Page 3: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/3.jpg)
Do you have XCode installed?
![Page 4: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/4.jpg)
I work @ Apigee.
![Page 5: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/7.jpg)
Why do we do this?Why free?
![Page 8: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/8.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/9.jpg)
1. Objective - C2. API Backend3. App Store
![Page 10: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/11.jpg)
Objective-C
![Page 12: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/12.jpg)
What is Objective-C?
![Page 13: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/13.jpg)
Object Oriented.
![Page 14: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/14.jpg)
.h and .m files
![Page 15: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/15.jpg)
NS prefixes
![Page 16: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/16.jpg)
Brackets, Brackets, Brackets
![Page 17: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/17.jpg)
Download the project
![Page 18: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/18.jpg)
j.mp/ios-books
![Page 19: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/19.jpg)
Our books app!
![Page 20: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/20.jpg)
Setting up our UI
![Page 21: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/21.jpg)
Model ViewController
![Page 22: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/22.jpg)
Storyboards
![Page 23: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/23.jpg)
Master-Detail App
![Page 24: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/24.jpg)
Segues
![Page 25: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/25.jpg)
Setup a segue in our app
![Page 26: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/26.jpg)
IBOutlets
![Page 27: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/27.jpg)
Setup outlets for our detail view
![Page 28: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/28.jpg)
![Page 29: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/29.jpg)
Set up Controllers
![Page 30: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/30.jpg)
Build with a Backend.
![Page 31: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/31.jpg)
Why use a Backend?
![Page 32: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/32.jpg)
It’s remote data storage you can access in your code.
![Page 33: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/33.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/34.jpg)
ServerInfrastructure
AppCode
SDK API
![Page 35: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/35.jpg)
Usergrid? Apigee?
![Page 36: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/36.jpg)
Let’s take a look at Apigee
j.mp/apigee-sign-up
![Page 37: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/37.jpg)
Add some data
![Page 38: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/38.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/39.jpg)
Getting data
![Page 40: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/40.jpg)
Answer:
j.mp/all-books
and
j.mp/book-title
![Page 41: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/41.jpg)
Storing Data
![Page 42: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/42.jpg)
Answer:
j.mp/creating-book
![Page 43: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/43.jpg)
Deleting Data
![Page 44: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/44.jpg)
Answer:
j.mp/delete-book
![Page 45: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/45.jpg)
App Store
![Page 46: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/46.jpg)
Submitting
![Page 47: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/47.jpg)
Create App Id
![Page 48: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/48.jpg)
Create Certificate
![Page 49: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/49.jpg)
Create Provisioning profile
![Page 50: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/50.jpg)
iTunes Connect
![Page 51: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/51.jpg)
Approval Process
![Page 52: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/52.jpg)
App Store Launch
![Page 53: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/53.jpg)
Congrats!
![Page 54: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/54.jpg)
What else can be done?
![Page 55: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/55.jpg)
Push NotificationsGeolocationUser ManagementFile StoragePicture SharingSocial NetworkingSecurity
![Page 56: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/56.jpg)
Build your own...
![Page 57: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/57.jpg)
iCloudRetail StoreSocial Networks
![Page 58: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/58.jpg)
Scale to Millions
![Page 60: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/60.jpg)
Ask for help!Announce projects!
j.mp/app-craft
Sign up now :)
![Page 61: Building your first Native iOs App with an API Backend](https://reader036.vdocuments.site/reader036/viewer/2022062703/554f7361b4c9052a518b4598/html5/thumbnails/61.jpg)
Thanks!
We’d love feedback on how to make it better. Let us know!