1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

NSSearchField in NSTableHeaderView

Discussion in 'Mac Programming' started by Incarna, Aug 1, 2012.

  1. macrumors newbie

    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.

Share This Page