• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom View in NSToolbar problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Custom View in NSToolbar problem
      • From: malcom <email@hidden>
References: 
 >Custom View in NSToolbar problem (From: malcom <email@hidden>)

  • Prev by Date: Re: Solved Custom View
  • Next by Date: Re: Custom View in NSToolbar problem
  • Previous by thread: Custom View in NSToolbar problem
  • Next by thread: Re: Custom View in NSToolbar problem
  • Index(es):
    • Date
    • Thread