Re: Custom View in NSToolbar problem
Re: Custom View in NSToolbar problem
- Subject: Re: Custom View in NSToolbar problem
- From: j o a r <email@hidden>
- Date: Wed, 19 Oct 2005 11:10:13 +0200
On 19 okt 2005, at 10.51, malcom wrote:
about implementing custom view objects in NSToolbar but without any
results. I cannot see the view inside the toolbar.
You're assigning *nil*, and not a view, to the toolbar item.
Your method to return a view never returns anything:
=======================================
@implementation MWToolbarSearchView
- (id) init {
if ( ![super init] ) return nil;
return self;
}
- (NSView *) getView {
return view;
}
@end
=======================================
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden