Upgrade to Pro — share decks privately, control downloads, hide ads and more …

iOS_Dev_Workshop_TechStreet.pdf

Mark Wilkinson
November 20, 2013
49

 iOS_Dev_Workshop_TechStreet.pdf

Mark Wilkinson

November 20, 2013
Tweet

Transcript

  1. Me Mark Wilkinson UH grad in Comp. Eng. Former DotNetter,

    now full- time mobile developer at ChaiOne. Wednesday, November 20, 13
  2. 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
  3. remove the initial View Controller, add Nav- Contronller in the

    Main.storyboard Wednesday, November 20, 13
  4. 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
  5. 2 more bugs, why did the tableView not show it

    added? then a crash, what happened here? Wednesday, November 20, 13
  6. Hmm...closing the app loses all your gifts, you need to

    persist Wednesday, November 20, 13
  7. 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
  8. Wire-up the storyboard view to this view-controller, wire up the

    UIWebView to the interface Wednesday, November 20, 13
  9. 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
  10. change the cellForRowAtIndexPathMethod create the prepareForSegue method, set the url

    path for the details ViewController Wednesday, November 20, 13
  11. Move all the saving/persisting logic of gifts out of the

    main ViewController Wednesday, November 20, 13
  12. Resources • developer.apple.com • objc.io • nsscreencast.com • ChaiOne if

    you want to do this for a living Wednesday, November 20, 13