Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (25 sloc) 0.541 kb
0547672 @tomcool420 new preferences type (adding controller and beginning work on list)
authored
1 //
2 // SMFPrefsSelectionItem.m
3 // SMFramework
4 //
5 // Created by Thomas Cool on 5/9/11.
6 // Copyright 2011 Thomas Cool. All rights reserved.
7 //
8
9 #import "SMFPrefsSelectionItem.h"
10
11
12 @implementation SMFPrefsSelectionItem
13 @synthesize object;
14 @synthesize title;
15 -(NSString *)rightText
16 {
17 if (self.object!=nil)
18 return NSStringFromClass([self.object class]);
19 return @"";
20 }
21 -(NSString *)titleText
22 {
23 if (self.title!=nil)
24 return self.title;
25 else
26 return [NSString stringWithFormat:@"%@",self.object,nil];
27 }
28 @end
Something went wrong with that request. Please try again.