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.

Don’t know what KiiToolkit is? Check out our post on the topic

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.

- Share -

Chris Beauchamp

More posts from

  • Kii IoT platform enables customers to create smart, connected solutions and services
  • Long track record of supporting customers like Docomo, Toshiba, Kyocera and many others
  • Strong ecosystem partners across the globe, consisting of carriers, device/sensor manufacturers, system integrators, network/infrastructure providers, chip vendors and solution developers
  • HQ in Tokyo, US HQ in Silicon Valley & offices in China, Taiwan, Hong Kong and Europe (UK, Spain, Germany)
  • www.kii.com