Building iOS 6 Apps Using Delegates with Views and Other Classes
Part of the iOS 6 Application Development For Dummies
The following table includes delegates used in iOS application development. Exceptions to when you need to use a delegate are shown in the Special Use column.
| Class | Delegate(s) Protocol | Special Use |
|---|---|---|
| ABPeoplePickerNavigation Controller ABNewPersonView Controller ABNewPersonView Controller ABUnknownPersonView Controller |
ABPeoplePickerNavigationControllerDelegate ABNewPersonViewControllerDelegate ABNewPersonViewControllerDelegate ABUnknownPersonViewControllerDelegate |
|
| AVAudioRecorder | AVAudioRecorderDelegate | |
| AVAudioSession | AVAudioSessionDelegate | |
| CAAnimation | None | |
| CAAnimationGroup | None | |
| CALayer | None | |
| CLLocationManager | CLLocationManagerDelegate | |
| EAAccessory | EAAccessoryDelegate | |
| GKGameCenterView Controller |
GKGameCenterControllerDelegate | The delegate is called when the player dismisses the Game Center user interface. New to iOS 6. |
| GKSession | GKSessionDelegate | |
| GKPeerPickerController | GKPeerPickerControllerDelegate | |
| NSError | NSErrorRecoveryAttempting | |
| MKMapView | MKAnnotation | |
| MKMapViewDelegate | ||
| MkReverseGeocoder | MKReverseGeocoderDelegate | |
| NSNetService NSNetServiceBrowser |
NSNetServiceDelegate NSNetServiceBrowserDelegate |
|
| NSStream | NSStreamDelegate | |
| NSPort NSMachPort |
NSPortDelegate NSMachPortDelegate |
|
| NSFetchedResultsController | NSFetchedResultsControllerDelegate | |
| NSKeyedArchiver NSKeyedUnarchiver | NSKeyedArchiverDelegate
NSKeyedUnarchiverDelegate |
|
| NSURLConnection | None | |
| MFMailComposeViewController | MFMailComposeViewControllerDelegate | |
| SKRequest SKProductsRequest |
SKRequestDelegate SKProductsRequestDelegate |
|
| UIAccelerometer | UIAccelerometerDelegate | |
| UIActionSheet | UIActionSheetDelegate | |
| UIAlertView | UIAlertViewDelegate | |
| UIApplication | UIApplicationDelegate | Also used for push notifications |
| UIImagePicker | UIImagePickerControllerDelegate | |
| UICollectionView | ||
| UINavigationBar | UINavigationBarDelegate | To push or pop view controllers |
| UIPickerView | UIPickerViewDataSource | |
| UIPickerViewDelegate | ||
| UIResponder | UIResponderStandardEditActions | Support for Copy, Paste, and Select |
| UIScrollView | UIScrollViewDelegate | Under some circumstances |
| UIScrollViewAccessibilityDelegate | Methods you can implement to provide accessibility information for a Scroll view. New to iOS 6. | |
| UISearchDisplayController | UISearchDisplayDelegate | |
| UISearchBar | UISearchBarDelegate | |
| UITabBar | UITabBarControllerDelegate | To customize a tab bar |
| UITableView | UITableViewDataSource | |
| UITableViewDelegate | ||
| UITextField | UITextFieldDelegate | To put away the keyboard |
| UITextView | UITextViewDelegate | To examine text being edited |
| UISearchBar | UISearchBarDelegate | |
| UIWebView | UIWebViewDelegate | |
| MPMediaPickerController | MPMediaPickerControllerDelegate | |
| NSXMLParser | NSXMLParserDelegate |









