Documentation for UI for Xamarion.iOS and UI for iOS

With TKDataSource it is easy to utilize data comming from remote sources, for example web services. To do this you should call the loadDataFromURL:dataFormat:rootItemKeyPath:completion: method like demonstrated below:

In some cases the data comming from a remote source is protected. In such scenarios you should inherit a class from TKDataSource and override the appropriate NSURLConnectionDelegate method. TKDataSource supports all authentication modes supported by NSURLConnection. Further information about authentication modes is available in Apple online documentation.

The following code demonstrates the usage of basic authenticaion with TKDataSource: