objective c - Animating a font size change in a UITableView -


Simple small app for educational purposes, this is a simple utfewewish and I want to adjust the users to get the UILDER Be able to use Font size as needed Now I work to change the font, but when the view is updated, that is, when I drag the table view up or down to reveal other cells. I would like the font change to be reflected immediately, Because the user might transfer to the UILder, here is the code that I have worked in half way:

  - (UITableViewCell *) Table view: (UITableView *) TableView CellForUrendAppath: (NSINXPath *) IndexPath {Static NSSTING * SimpleTeleidEdifier = @ "Simple Stylide Identifier"; UITableViewCell * cell = [TableView deView Re-Eligible CellWithIdentifier: SimpleTableIdentifier]; If (cell == zero) cell = [[[UITableViewCell alloc] initWithFrame: CGRectZero reuseIdentifier: SimpleTableIdentifier] autorelease]; NSUnitor Row = [index line]; Cell.text = [List Data ItemAntindex: Line]; UIImage * image = [UIImage imageNamed: @ "star.png"]; Cell.font = [UIFont systemFontOfSize: [fontlider value]]; Cell.image = image; Return cell; } Can make IBAction for fontSlider for "Price changed" option.  

type as follows:

  - (IBAction) Resize Refresh {{self.view setNeedsDisplay]; }  

This should work, the SetNeedsDisplay screen refreshes.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -