Re: Reference NSSearchFieldCell within NSSearchField?
Re: Reference NSSearchFieldCell within NSSearchField?
- Subject: Re: Reference NSSearchFieldCell within NSSearchField?
- From: Jim Correia <email@hidden>
- Date: Tue, 29 Dec 2009 15:10:20 -0500
On Dec 29, 2009, at 3:02 PM, Mike Chambers wrote:
> The NSSearchField docs mention that it wraps an NSSearchFieldCell,
> which contains such APIs as setSendsWholeSearchString (which i need to
> dynamically set).
>
> Is there any programatic way to get a reference to the
> NSSearchFieldCell wrapped in a particular NSSearchField? I know I can
> link an IBOutlet to it directly in IB, but I would prefer just to use
> my existing outlet to the search field.
NSSearchField inherits from NSControl.
NSControl has a -cell method.
- Jim
_______________________________________________
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