$30 off During Our Annual Pro Sale. View details »

Where to Start? Practical Suggestions on iOS & Xcode

Where to Start? Practical Suggestions on iOS & Xcode

Slides from my talk at Mobilist in Istanbul. I talked about common pitfalls when starting with iOS, as well as some general purpose debugging and organization tips around Xcode.

Style and colour theme was totally ripped off from Chris Coyier's (http://chriscoyier.net) excellent slide deck designs with his gracious approval.

Taylan Pince

April 21, 2013
Tweet

More Decks by Taylan Pince

Other Decks in Programming

Transcript

  1. Where to start? Practical Suggestions on iOS and Xcode

  2. Taylan Pinçe @taylanpince Tech Lead @

  3. APIs & Web Services

  4. APPS!

  5. Xcode

  6. None
  7. Xcode Empty Application Template = WIN

  8. Xcode Project Organization

  9. Xcode Project Organization

  10. Xcode Project Organization

  11. None
  12. Xcode Interface Builder

  13. Xcode UIView > Interface Builder UIViewController init

  14. Xcode UIView > Interface Builder UIViewController init loadView

  15. Xcode UIView > Interface Builder UIViewController init loadView UIView initWithFrame:

  16. Xcode UIView > Interface Builder UIViewController init loadView viewDidLoad UIView

    initWithFrame:
  17. Xcode UIView > Interface Builder UIViewController init loadView viewDidLoad layoutSubviews

    UIView initWithFrame:
  18. Xcode Base Class = Life Saver UIViewController

  19. Xcode Base Class = Life Saver UIViewController ABCBaseViewController

  20. Xcode Base Class = Life Saver UIViewController ABCBaseViewController ABCDetailViewController

  21. Xcode Base Class = Life Saver UIViewController ABCBaseViewController ABCDetailViewController UIViewController

  22. Xcode Base Class = Life Saver UIViewController ABCBaseViewController ABCDetailViewController UIViewController

    ABCBaseTableViewController
  23. Xcode Base Class = Life Saver UIViewController ABCBaseViewController ABCDetailViewController UIViewController

    ABCBaseTableViewController ABCListViewController
  24. Xcode Follow the MVC rules Model

  25. Xcode Follow the MVC rules Model Controller

  26. Xcode Follow the MVC rules Model Controller View

  27. Xcode Delegation = Most important protocol Delegate Object

  28. Xcode Delegation = Most important protocol Delegate Object Let me

    know!
  29. Xcode Delegation = Most important protocol Delegate Object Let me

    know! Alright then!
  30. Xcode Delegation = Most important protocol @property (nonatomic, assign) id

    <ABCDetailViewDelegate> delegate; @protocol ABCDetailViewDelegate <NSObject> @required - (void)detailViewDidTapCloseButton:(ABCDetailView *)detailView; @optional - (void)detailViewDidUpdateField:(ABCDetailView *)detailView; @end
  31. Xcode Managers & Categories Model Controller View

  32. Xcode Managers & Categories Model Controller View API Manager

  33. Xcode Managers & Categories Model Controller View UIColor+ABCAdditions API Manager

  34. Debugging

  35. Debugging Breakpoints

  36. Debugging Breakpoints

  37. Debugging Breakpoints

  38. Debugging Breakpoints

  39. Debugging Breakpoints

  40. Debugging Clang Analyzer

  41. Debugging Clang Analyzer

  42. Debugging Instruments

  43. Debugging Instruments

  44. Debugging Instruments

  45. Debugging Instruments

  46. Debugging Instruments

  47. Debugging Instruments

  48. Debugging Instruments

  49. Debugging Simulate Memory Warning

  50. Debugging Location Simulation

  51. Debugging Location Simulation: gpx-poi.com

  52. Debugging Network Link Conditioner

  53. Debugging Crashlytics

  54. Debugging DCIntrospect

  55. hipo.biz @hipolabs Join Us! Send your github profile to: hello@hipo.biz

  56. Thank you! @taylanpince