Using an NSTableHeaderView as a Custom View
Using an NSTableHeaderView as a Custom View
- Subject: Using an NSTableHeaderView as a Custom View
- From: Peter Zegelin <email@hidden>
- Date: Mon, 28 Apr 2008 23:26:38 +1000
I would like to use the gradiant image found in the standard
NSTableHeaderView as the background image of my own view. I thought I
could just create a subclass of NSTableVIew and draw my own stuff
after letting the view draw itself first, however just a
NSTableHeaderView on its own crashes the IB Simulator. Is there anyway
of doing this or alternatively getting the image?
As I'm quite new to Cocoa a tiny bit of drawing code would be much
appreciated as well - if I have to go the image route.
thanks!
Peter
www.fracturedSoftware.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden