Tuesday, July 8, 2014

iOS UI element delegates methods

Delegate methods : 
UITableView:
DataSource -
Configuring a Table View
Inserting or Deleting Table Rows
Reordering Table Rows

  Delegate -
Configuring Rows for the Table View
Managing Accessory Views
Managing Selections
Modifying the Header and Footer of Sections
Editing Table Rows
Reordering Table Rows
Copying and Pasting Row Content

 UIPickerView-
 DataSource -
Providing Counts for the Picker View
  Delegate -
Setting the Dimensions of the Picker View
Setting the Content of Component Rows
The methods in this group are marked @optional. However, to use a picker view, you must implement either thepickerView:titleForRow:forComponent: or thepickerView:viewForRow:forComponent:reusingView: method to provide the content of component rows.
Responding to Row Selection

UITextFeild-
Delegate -
Managing Editing
Editing the Text Field’s Text

 UItextView-
 Delegate - Responding to Editing Notifications
Responding to Text Changes
Responding to Selection Changes

 MKMapView-
Delegate -
Responding to Map Position Changes
Loading the Map Data
Tracking the User Location
Managing Annotation Views
Dragging an Annotation View
Selecting Annotation Views
Managing Overlay Views

NSURLConnection-
Delegate -
Connection Authentication

Connection Completion

NSURLConnectionDownloadDelegate

 NSURLConnection
Preflighting a Request
Loading Data Synchronously
Loading Data Asynchronously
Stopping a Connection
Scheduling Delegate Messages

 NSXMLParser-
Handling XML
Handling the DTD


7.NSURLConnection
Connection Authentication
  • – connection:willSendRequestForAuthenticationChallenge:
  • – connection:canAuthenticateAgainstProtectionSpace:
  • – connection:didCancelAuthenticationChallenge:
  • – connection:didReceiveAuthenticationChallenge:
  • – connectionShouldUseCredentialStorage:
Connection Completion
  • – connection:didFailWithError:
MethodGroup

No comments:

Post a Comment