How to change the highlighted background color of a UITableView’s cell

On 09/07/2011, in Cocoa Touch, English, Objective C, by FRR

Changing the background color of the selected cell in a UITableView The default value for selectedBackgroundView is nil for cells in plain-style tables (UITableViewStylePlain) and non-nil for section-group tables (UITableViewStyleGrouped). If you’re using a plain-style table, you must alloc an init a new UIView with the desired background color, and then assign it to selectedBackgroundView. [...]

Tagged with:  

Mantener sincronizados una UITableViewCell y su modelo

On 24/06/2011, in Cocoa Touch, Objective C, by FRR

Cómo mantener sincronizados una UITableViewCell y su modelo En un UINavigationController tenía puesto un UITableView con una serie de celdas: Al hacer clic sobre alguna de las UITableViewCells, se carga una nueva UIView sobre el UINavigationController para editar, entre otras cosas, el texto de la celda. Ahora, al eliminar esa UIView y volver a la [...]