Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
iOS_Dev_Workshop_TechStreet.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Mark Wilkinson
November 20, 2013
63
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
iOS_Dev_Workshop_TechStreet.pdf
Mark Wilkinson
November 20, 2013
More Decks by Mark Wilkinson
See All by Mark Wilkinson
Updated presentation for the Houston iPhone Dev User Group
markawil
0
97
Intro to Swift and clean coding practices
markawil
0
74
Clean Coding in Swift
markawil
0
260
Life of a Mobile Developer
markawil
1
91
MVVM and Mobile, don't do it cause someone told you
markawil
1
790
SOLID coding in Swift and iOS
markawil
0
270
What's new in Swift 2.0
markawil
0
66
Unit testings in Swift
markawil
0
74
Tools for the iOS Developer
markawil
4
110
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
340
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
780
Designing for Timeless Needs
cassininazir
1
510
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
sira's awesome portfolio website redesign presentation
elsirapls
0
430
Agile that works and the tools we love
rasmusluckow
331
22k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Transcript
iPhone Dev workshop step-by-step Wednesday, November 20, 13
Wednesday, November 20, 13
Me Wednesday, November 20, 13
Me Mark Wilkinson Wednesday, November 20, 13
Me Mark Wilkinson UH grad in Comp. Eng. Wednesday, November
20, 13
Me Mark Wilkinson UH grad in Comp. Eng. Former DotNetter,
now full- time mobile developer at ChaiOne. Wednesday, November 20, 13
Me Mark Wilkinson UH grad in Comp. Eng. Former DotNetter,
now full- time mobile developer at ChaiOne. Head of the C#UG for the last 3 years. Wednesday, November 20, 13
create a new Xcode project, single view app Wednesday, November
20, 13
remove the initial View Controller, add Nav- Contronller in the
Main.storyboard Wednesday, November 20, 13
Wire-up the Root ViewController • Set the Class of the
Root VC to be your TSViewController • Change base class of TSViewController to UITableViewController Wednesday, November 20, 13
add UITableView essential methods Wednesday, November 20, 13
set edit and add buttons on NavBar Wednesday, November 20,
13
add your model objects array, update the tableView methods Wednesday,
November 20, 13
Setup the AlertViews to enter Gift information Wednesday, November 20,
13
lets do some refactoring Wednesday, November 20, 13
Where’s the bug? Wednesday, November 20, 13
Check if they chose OK or Cancel Wednesday, November 20,
13
Create and save your new gift to the collection Wednesday,
November 20, 13
Reload the tableView to show the new gift Wednesday, November
20, 13
2 more bugs, why did the tableView not show it
added? then a crash, what happened here? Wednesday, November 20, 13
Add ability to delete gifts Wednesday, November 20, 13
Hmm...closing the app loses all your gifts, you need to
persist Wednesday, November 20, 13
awesome, not read them back each app start Wednesday, November
20, 13
don’t forget to delete gifts Wednesday, November 20, 13
Onto the drill-down, add a new ViewController, add a WebView
control+click the prototype cell, then drag onto the added View Controller, choose ‘Push’ segue Wednesday, November 20, 13
Create the backing ViewController class for this details View Controller
Wednesday, November 20, 13
Wire-up the storyboard view to this view-controller, wire up the
UIWebView to the interface Wednesday, November 20, 13
name the segue that you just created from the tableViewCell
to the DetailsViewController set identifier of the prototype cell to “giftCell” Wednesday, November 20, 13
change the cellForRowAtIndexPathMethod create the prepareForSegue method, set the url
path for the details ViewController Wednesday, November 20, 13
load the URL in the detailsViewController Wednesday, November 20, 13
Bonus, refactor and NSCoding Wednesday, November 20, 13
Move all the saving/persisting logic of gifts out of the
main ViewController Wednesday, November 20, 13
NSCoder and NSKeyedArchiver Wednesday, November 20, 13
Now use NSKeyedArchiver Wednesday, November 20, 13
Resources • developer.apple.com • objc.io • nsscreencast.com • ChaiOne if
you want to do this for a living Wednesday, November 20, 13