The iOS framework that grows only as fast as its documentation
NITitleCellObject Class Reference

Overview

An object for displaying a single-line title in a table view cell.

This object maps by default to a NITextCell and displays the title with a UITableViewCellStyleDefault cell. You can customize the cell class using the NICellObject methods.

Inheritance diagram for NITitleCellObject:
NICellObject <NICellObject> NISubtitleCellObject

Tasks

NSString * title property
 
(id) - initWithTitle:image:
 
(id) - initWithTitle:
 
(id) - initWithTitle:image:cellClass:userInfo:
 
(id) + objectWithTitle:image:
 
(id) + objectWithTitle:
 
id userInfo property
 
(Class) - cellClass
 
(UITableViewCellStyle) - cellStyle
 

Method Documentation

title

The text to be displayed in the cell.

@property (nonatomic, copy) NSString* title;

initWithTitle:image:

Initializes the NITitleCellObject with NITextCell as the cell class and the given title text and image.

- (id)initWithTitle:(NSString *)title image:(UIImage *)image;

initWithTitle:

Initializes the NITitleCellObject with NITextCell as the cell class and the given title text.

- (id)initWithTitle:(NSString *)title;

initWithTitle:image:cellClass:userInfo:

Initializes the NITitleCellObject with the given title, image, cellClass, and userInfo.

- (id)initWithTitle:(NSString *)title image:(UIImage *)image cellClass:(Class)cellClass userInfo:(id)userInfo;
Discussion

This is the designated initializer. Use of this initializer allows for customization of the associated cell class for this object.

objectWithTitle:image:

Convenience method for initWithTitle:image:.

+ (id)objectWithTitle:(NSString *)title image:(UIImage *)image;
Discussion
Returns
Autoreleased instance of NITitleCellObject.

objectWithTitle:

Convenience method for initWithTitle:.

+ (id)objectWithTitle:(NSString *)title;
Discussion
Returns
Autoreleased instance of NITitleCellObject.

userInfo

An object that can be used to populate information in the cell.

@property (nonatomic, strong) id userInfo;

cellClass

The class of cell to be created when this object is passed to the cell factory.

- (Class)cellClass;
Discussion

cellStyle

The style of UITableViewCell to be used when initializing the cell for the first time.

- (UITableViewCellStyle)cellStyle;
Discussion