Knowing the Target-Action Patterns for iOS 6 App Development

By Neal Goldstein, Dave Wilson

Part of iOS 6 Application Development For Dummies Cheat Sheet

Following are the Target-Action patterns that you use when programming iOS applications. Specify the target as the view controller (which you’ll have already subclassed).

  • UITabBarItem (for items on the tab bar)

  • UIBarButtonItem (for items on the Navigation bar and toolbar)

  • UIButton

  • UIDatePicker

  • UIPageControl

  • UISegmentedControl

  • UITextField

  • UISlider

  • UISwitch