Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 29 lines (22 sloc) 0.839 kB
//
// SSPickerViewController.h
// SSToolkit
//
// Created by Sam Soffes on 10/9/08.
// Copyright 2008-2011 Sam Soffes. All rights reserved.
//
/**
This is an abstract class for displaying a `UITableView` with a list of items for the user to choose similar to
Settings.app.
A subclass should override the `- (void)loadObjects` and `- (NSString *)cellTextForObject:(id)anObject` methods to
customize this class.
A subclass can optionally override `- (void)cellImageForKey:(id)key` to show an image in the cell.
*/
@interface SSPickerViewController : UITableViewController
@property (nonatomic, strong) NSArray *keys;
@property (nonatomic, strong) id selectedKey;
@property (nonatomic, strong) NSIndexPath *currentIndexPath;
- (void)loadKeys;
- (NSString *)cellTextForKey:(id)key;
- (UIImage *)cellImageForKey:(id)key;
@end
Jump to Line
Something went wrong with that request. Please try again.