This is a sample application for using some advanced features from the Three20 library, originally put out by Facebook. This presentation was given at Dallas Tech Fest 2011. For the source code, please visit http://github.com/phillipuniverse/PhotoGalleryThree20
2. Who am I?
• Consultant for Credera
• ~12 months of iPhone experience
• Three20 contributor
3.
4. Roadmap
• What is Three20 and why should I care?
• TTCatalog Demo
• PhotoGallery App demo
• Code!
• Closing thoughts
5. What is Three20?
• Framework of views, helpers, paradigms in
Objective-C built on top of iOS
• Heavy focus on network access
• Brought to you by: Facebook™
• Takes out large amount iOS boilerplate
code
7. Features
• Custom views like a launcher view (mimics Springboard)and a photo gallery
controller
• Asynchronous URL loading + robust disk cache
• Customized table cells
• Internet-aware table views
• URL-based navigation
• Global Styling
8. Extensions
• Built on top of Three20
• extThree20CSSStyle - use CSS to style
your app
• extThree20JSON - shortcut for parsing
JSON (uses SBJSON or YAJL)
• extThree20XML - rudimentary XML
marshaling (uses NSXMLParser)
11. Server Code Layout
• 2 categories: ATVs, Sports
• Each gallery has an arbitrary number of
albums (specified in XML)
• Each album has an arbitrary number of
Photos (specified in XML)
12. TTLauncherView
• Comprised of TTLauncherItems
• Each item can contain a picture, title and
open a view
• Mimics Springboard (except for folders)