View Full Version : NSSearchField in NSTableHeaderView

Aug 1, 2012, 02:58 AM
Hey all,

I've been tearing my hair out for days trying to figure this out.

How can I stash a NSSearchField in a NSTableHeaderView?

I know the NSTableHeaderView's UI is drawn with a NSTableHeaderCell, not sure where that fits in here.

So far I've manager to get a gradient background and a larger frame, but all of that was done with NSTableHeaderView.

Any pointers? All I really want is to be able to add elements (a NSSearchField for now) into my NSTableHeaderView but addSubview doesn't seem to do anything.