Difference between revisions of "PSSpecifier"

From iPhone Development Wiki
Jump to: navigation, search
m (Custom Height)
m (change link to iphonedevwiki version)
Line 1: Line 1:
Documented by kennytm at [http://code.google.com/p/networkpx/wiki/PreferencesSpecifierPlistFormat networkpx]
+
Documented by kennytm at [[Preferences specifier plist]]
  
 
== Additions ==
 
== Additions ==

Revision as of 11:12, 7 September 2013

Documented by kennytm at Preferences specifier plist

Additions

PSEditTextViewCell

Custom Height

On your PSListController subclass, to change the size of the cell override

- (CGFloat)preferencesTable:(UIPreferencesTable *)table heightForRow:(NSInteger)row inGroup:(NSInteger)group withProposedHeight:(CGFloat)proposedHeight;

Call setUserInfo on the specifier to set the inner text view height:

[specifier setUserInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:180] forKey:@"height"]];