diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2017-03-07 03:07:43 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2017-03-07 03:07:43 -0800 |
commit | 70d35e1385a7311e310a9890ecb163d97bbdf6e9 (patch) | |
tree | 64ab78bddfdef88ddc06ef79ee47c19f109f167e /CyteKit/ListController.mm | |
parent | 3a6f9c89e5edc675d5741eb5aa66e30e798fb3aa (diff) |
Also move ListController title support to CyteKit.
Diffstat (limited to 'CyteKit/ListController.mm')
-rw-r--r-- | CyteKit/ListController.mm | 6 |
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]; |