• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using an NSTableHeaderView as a Custom View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using an NSTableHeaderView as a Custom View


  • Subject: Re: Using an NSTableHeaderView as a Custom View
  • From: Corbin Dunn <email@hidden>
  • Date: Mon, 28 Apr 2008 09:13:49 -0700


On Apr 28, 2008, at 6:26 AM, Peter Zegelin wrote:
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.

Can you please log a bug on that? Please note the OS version, and any steps you use to reproduce the problem. Feel free to log it in the Cocoa/AppKit component and send me the radar number. Thank you!


corbin


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.

_______________________________________________

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


References: 
 >Using an NSTableHeaderView as a Custom View (From: Peter Zegelin <email@hidden>)

  • Prev by Date: Zip Files in Objective-C?
  • Next by Date: Re: Failure on unarchiving a NSBezierPath
  • Previous by thread: Using an NSTableHeaderView as a Custom View
  • Next by thread: CALayer + flickering redraw.
  • Index(es):
    • Date
    • Thread