PSSpecifier: Difference between revisions

From iPhone Development Wiki
m (Move the occlass template call back to the top, because I'm ambivalent.)
m (Yay, GeSHi!)
Line 12: Line 12:
Call setUserInfo on the specifier to set the inner text view height:
Call setUserInfo on the specifier to set the inner text view height:


[specifier setUserInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:180] forKey:@"height"]];
<source lang="objc">
[specifier setUserInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:180] forKey:@"height"]];
</source>

Revision as of 12:19, 21 September 2009


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

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"]];