Knowing the Target-Action Patterns for iPad App Development

By Neal Goldstein

Part of iPad Application Development For Dummies Cheat Sheet

Following are the Target-Action patterns that you use when programming iPad applications. You generally will specify the target as the view controller (which you’ll have already subclassed) because it controls the view in which these controls reside.

  • UITabBarItem (for items on the tab bar)

  • UIBarButtonItem (for items on the navigation bar and tool bar)

  • UIButton

  • UIDatePicker

  • UIPageControl

  • UISegmentedControl

  • UITextField

  • UISlider

  • UISwitch