PSSpecifier: Difference between revisions

From iPhone Development Wiki
(Use the class template.)
(Move the occlass template call to the bottom, becuase we're adding a navbox to it.)
Line 1: Line 1:
{{occlass|framework=Preferences}}
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]


Line 13: Line 12:


  [specifier setUserInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:180] forKey:@"height"]];
  [specifier setUserInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:180] forKey:@"height"]];
{{occlass|framework=Preferences}}

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