Digitized iOS Project
This project is a follow along project to teach some basic iOS/Xcode development.
- 5.9 billion mobile subscriptions in the world (7 billion people total)
- Only 1.3 billion web-enabled
- ___ SMS messages sent last year
- It took AOL 9 years to reach 1 million users
- It took Facebook 9 months to reach 1 million users
- It took Draw Something 9 days to reach one million users
Challenges of small screens
Follow Along Steps
Download the project zip
Unzip this file in your work/project folder.
Open up the file, "Digitized.xcworkspace"
Open up the file "Digitized/MainStoryBoard.storyboard".
Our app is going to have 3 tabs:
- A view of the digitized tumbler feed
- A digitized tweet feed
- A map that zooms in
- A touch tab
Hooking up the tumblr web view
Lets add our first tab to the app. We have to let the View Controller know about some of the widgets we have on our story board.
Our UIWebView can pass some messages to our View Controller when it starts loading a page, or finishes loading a page. We call this delegation, which is used frequently in ObjC. Our UIWebView has a delgate, lets connect that to our ViewController.
We also have a refresh button, instead of using a delegate, it uses an action @selector to pass a message. We can connect that to our ViewController action "refreshButtonClick:".
Hooking up the digitized feed
Lets hook up the digitized feed now and customize the twitter hash tag in the code.
Lets walk through how it works in the View Controller.
Hooking up the map
Hook up the Locate button to locate the user
Connect the MKMapView to the View Controller.
Try the touches.
Change the color to [UIColor redColor].
Remove the views.