NSTableView and custom table headers
NSTableView and custom table headers
- Subject: NSTableView and custom table headers
- From: Jeremy Dronfield <email@hidden>
- Date: Mon, 16 Feb 2004 12:02:04 +0000
Am I correct in thinking that a table view does not retain its table
header view? The documentation says neither yea or nay on this point.
My experiments suggest that -setTableHeaderView: does not work in the
same way as -addSubview: and that the view is not retained. Therefore I
cannot do:
[myTable setHeaderView:myCustomHeader];
[myCustomHeader release];
This is an irritant because I have several tables with custom headers
(same background image, different text) and would prefer to recycle
myCustomHeader during the setup routine rather than take the trouble to
create and retain several instances.
-Jeremy
========================================
email@hidden
theLocustFarm.net:
- fractious fiction at
http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.