PSSpecifier: Difference between revisions

From iPhone Development Wiki
(Move the occlass template call to the bottom, becuase we're adding a navbox to it.)
No edit summary
Line 7: Line 7:


==== Custom Height ====
==== Custom Height ====
Override - (CGFloat)preferencesTable:(UIPreferencesTable *)table heightForRow:(NSInteger)row inGroup:(NSInteger)group withProposedHeight:(CGFloat)proposedHeight; to change the size of the cell.
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:
Call setUserInfo on the specifier to set the inner text view height:

Revision as of 10:52, 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"]];


[[Category:Classes in {{{library}}}]]