iOS Tutorial: KTTableViewController
Our team has just released a new iOS tutorial (complete with downloadable sample code) for KTTableViewController, one of the new features of KiiToolkit.
What is KTTableViewController?
KTTableViewController is an iOS view controller designed specifically for Kii Cloud, which provides automatic download and display of objects stored within Kii Cloud. This class is a wrapper for commonly-developed logic; if you know the native iOS class UITableViewController, KTTableViewController will be very familiar!
KTTableViewController also provides some upgrades to the traditional table view, including automatic pagination as well as pull-to-refresh (even for pre-iOS6 devices). This will make your development even easier!
How can I implement it?
Implementation can be as simple as subclassing KTTableViewController rather than UITableViewController when you’re creating a table. All you need to do is call the following method in place of the usual cell creator:
- (UITableViewCell*) tableView:(UITableView *)tableView cellForKiiObject:(KiiObject *)object atIndexPath:(NSIndexPath *)indexPath { // create a cell in the block here }
As with all features within KiiToolkit, this view controller and its components are fully customizable to match the look and feel of your application.
Getting Started
Visit our full tutorial in our documentation here:
KTTableViewController Tutorial
You can also get a lot more information on our GitHub project page including other detailed examples and full documentation.
This is another great tool to get your app up and running even faster with Kii Cloud, so have fun building and let us know what you think.