Learn more with dummies

Enter your email to join our mailing list for FREE content right to your inbox. Easy!

Knowing the Target-Action Patterns for iPhone App Development

By Neal Goldstein, Tony Bove

Part of iPhone Application Development All-in-One For Dummies Cheat Sheet

Following are the Target-Action patterns that you use when programming iPhone 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