Delegate methods :
UITableView:
DataSource -
Configuring a Table View
– tableView:cellForRowAtIndexPath: required method
– tableView:numberOfRowsInSection: required method
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
– mapView:didChangeUserTrackingMode:animated: required method
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
- – connection:needNewBodyStream
- – connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite: required method
- – connection:didReceiveData: required method
- – connection:didReceiveResponse: required method
- – connection:willCacheResponse: required method
- – connection:willSendRequest:redirectResponse: required method
- – connectionDidFinishLoading: required method
No comments:
Post a Comment