summaryrefslogtreecommitdiff
path: root/CyteKit/ListController.mm
diff options
context:
space:
mode:
Diffstat (limited to 'CyteKit/ListController.mm')
-rw-r--r--CyteKit/ListController.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/CyteKit/ListController.mm b/CyteKit/ListController.mm
index d3c162e..7d90045 100644
--- a/CyteKit/ListController.mm
+++ b/CyteKit/ListController.mm
@@ -130,6 +130,12 @@ static CGFloat CYStatusBarHeight() {
[self deselectWithAnimation:animated];
}
+- (id) initWithTitle:(NSString *)title {
+ if ((self = [super init]) != nil) {
+ [[self navigationItem] setTitle:title];
+ } return self;
+}
+
- (void) releaseSubviews {
list_ = nil;
[super releaseSubviews];