Inherits from UITableViewController
Declared in KVOptionsViewController.h
KVOptionsViewController.m

Overview

KVOptionsViewController provides a generic way to let use pick an option from a list.

Tasks

Setup

  •   optionLabels

    Labels for options to show in list.

    property
  •   currentSelection

    Index of label that currently has the checkmark. Pass in NSNotFound if no current selection exists.

    property

Handling response

  •   selectionHandler

    Block that will be called when the user has selected an option from the list.

    property

Properties

currentSelection

Index of label that currently has the checkmark. Pass in NSNotFound if no current selection exists.

@property NSUInteger currentSelection

Discussion

Index of label that currently has the checkmark. Pass in NSNotFound if no current selection exists.

Declared In

KVOptionsViewController.h

optionLabels

Labels for options to show in list.

@property (nonatomic, strong) NSArray *optionLabels

Discussion

Labels for options to show in list.

Declared In

KVOptionsViewController.h

selectionHandler

Block that will be called when the user has selected an option from the list.

@property (copy) void ( ^ ) ( NSUInteger selectedOptionIndex ) selectionHandler

Discussion

Block that will be called when the user has selected an option from the list.

Declared In

KVOptionsViewController.h