Hi,
I have an application in which i added 2 buttons and one search view in the
too bar. I need to insert a seperator in between search view and 2 buttons.
I have tried the following in my code. and it is not working. Any idea?
- (NSArray *) toolbarAllowedItemIdentifiers: (NSToolbar *) toolbar
{
return [NSArray arrayWithObjects:[NSString
stringWithString:serachIdentifier],
NSToolbarSeparatorItemIdentifier,
[NSString stringWithString:Button1ToolbarItemIdentifier],
[NSString stringWithString:Button2ToolbarItemIdentifier],
nil];
}
- (NSArray *) toolbarDefaultItemIdentifiers: (NSToolbar *) toolbar
{
return [NSArray arrayWithObjects:searchIdentifier,
NSToolbarSeparatorItemIdentifier,
Button1ItemIdentifier,
Button2ItemIdentifier, nil];
}
Thanks
Arun KA
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]