iOS development in a hackathon
-
Upload
benjamin-digeon -
Category
Engineering
-
view
148 -
download
5
description
Transcript of iOS development in a hackathon
![Page 1: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/1.jpg)
iOS development
by Benjamin Digeon
in a hackathon
![Page 2: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/2.jpg)
Who’s that man ?
iOS and Ruby developer.
Startup Weekend and Hackathon addict.
Currently working at EcoTa.co. Benjamin Digeon
@Todiann
Who’s that man ?
![Page 3: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/3.jpg)
EcoTa.co
• On-demand transportation service.
• We're currently looking for Android and Ruby developers.
![Page 4: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/4.jpg)
![Page 5: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/5.jpg)
• « See the most fashionable places in a city based on information from social networks »
• Idea find 3 minutes before the pitch
• The only developer
• 72 hours
Happy Places example
![Page 6: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/6.jpg)
![Page 7: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/7.jpg)
Goal ?
« Have something functional and beautiful »
![Page 8: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/8.jpg)
vs
Native or not ?
![Page 9: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/9.jpg)
![Page 10: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/10.jpg)
![Page 11: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/11.jpg)
Data sources
• Facebook Graph : login facebook required and hard to get data.
• Foursquare : developper API easy to use.
![Page 12: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/12.jpg)
Heat Map
• Setting a value to a point (number of Foursquare checkin in a place)
• Displaying a map with a color gradient in accordance with the value
• An objective-c library already exist : https://github.com/ryanolsonk/HeatMapDemo
![Page 13: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/13.jpg)
Let’s code !
![Page 14: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/14.jpg)
KISS (Keep it Simple, Stupid )
• Get places with most checkin in maximum 20km radius on the map.
• Display an HeatMap with them.
• Allow to select the top 5 places.
• 3 categories (bar, food, culture).
• Manual reload
![Page 15: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/15.jpg)
![Page 16: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/16.jpg)
https://github.com/BenjaminDigeon/HappyPlaces
Source code
![Page 17: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/17.jpg)
Tips
![Page 18: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/18.jpg)
Simple is betterSet realistic expectations
![Page 19: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/19.jpg)
![Page 20: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/20.jpg)
Don't reinvent the wheel
![Page 21: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/21.jpg)
Have fun !
![Page 22: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/22.jpg)
Tools
![Page 23: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/23.jpg)
Cocoapods
Dependency manager for Objective-C.
![Page 24: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/24.jpg)
Alcatraz.io
Package manager for Xcode.
![Page 25: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/25.jpg)
github.com/nomad/Shenzhen
• Create .ipa files
• Distribute them with TestFlight, HockeyApp, DeployGate, iTunes Connect
• From the command line !
![Page 26: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/26.jpg)
Crashlytics
![Page 27: iOS development in a hackathon](https://reader031.fdocuments.us/reader031/viewer/2022020218/5598ccf71a28ab82338b457d/html5/thumbnails/27.jpg)
Thank you@Todiann