I need to implement a headerview
with specific size and gradient. I have to insert images in certain cells of the headerview
.Tried to create the cells
You can also create a NSTableHeaderView
object, initialize it with a frame(rect with height and width) and set that NSTableHeaderView
object to your table view.
NSTableHeaderView *tableHeaderView = [[NSTableHeaderView alloc] initWithFrame:NSMakeRect(0, 0, 120, 60)];
[myTableView setHeaderView:tableHeaderView];
[tableHeaderView release];