PSSpecifier: Difference between revisions

From iPhone Development Wiki
m (Yay, GeSHi!)
No edit summary
Line 1: Line 1:
{{occlass|framework=Preferences}}
{{occlass|library=Preferences.framework}}
Documented by kennytm at [http://code.google.com/p/networkpx/wiki/PreferencesSpecifierPlistFormat networkpx]
Documented by kennytm at [http://code.google.com/p/networkpx/wiki/PreferencesSpecifierPlistFormat networkpx]



Revision as of 14:51, 21 September 2009


Documented by kennytm at networkpx


Additions

PSEditTextViewCell

Custom Height

Override - (CGFloat)preferencesTable:(UIPreferencesTable *)table heightForRow:(NSInteger)row inGroup:(NSInteger)group withProposedHeight:(CGFloat)proposedHeight; on your PSListController subclass to change the size of the cell.

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

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