- (PackageCell *) init;
- (void) setPackage:(Package *)package;
-+ (int) heightForPackage:(Package *)package;
- (void) drawContentRect:(CGRect)rect;
@end
[placard_ drawAtPoint:CGPointMake(width - 52, 9)];
}
-+ (int) heightForPackage:(Package *)package {
- return 73;
-}
-
@end
/* }}} */
/* Section Cell {{{ */
[list_ deselectRowAtIndexPath:[list_ indexPathForSelectedRow] animated:animated];
}
-/*- (CGFloat) tableView:(UITableView *)table heightForRowAtIndexPath:(NSIndexPath *)path {
- return [PackageCell heightForPackage:[self packageAtIndexPath:path]];
-}*/
-
- (NSIndexPath *) tableView:(UITableView *)table willSelectRowAtIndexPath:(NSIndexPath *)path {
Package *package([self packageAtIndexPath:path]);
package = [database_ packageWithName:[package id]];
return cell;
}
-/*- (CGFloat) tableView:(UITableView *)table heightForRowAtIndexPath:(NSIndexPath *)path {
- return [PackageCell heightForPackage:[self packageAtIndexPath:path]];
-}*/
-
- (NSIndexPath *) tableView:(UITableView *)table willSelectRowAtIndexPath:(NSIndexPath *)path {
Package *package([self packageAtIndexPath:path]);
PackageController *view([delegate_ packageController]);