• 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: NSToolbarItem view set to NSButton view, but not showing...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbarItem view set to NSButton view, but not showing...


  • Subject: Re: NSToolbarItem view set to NSButton view, but not showing...
  • From: Eric Shepherd <email@hidden>
  • Date: Wed, 23 Apr 2014 19:57:34 -0400

There's a lot to be said for spreading lots of NSLog through your code. It's amazing how many bugs you can nail down using this old-school form of debugging.

Eric Shepherd

> On Apr 23, 2014, at 6:36 PM, Jerry Krinock <email@hidden> wrote:
>
> Try some bonehead debugging with NSLog().  Verify that toolbaritem is your target item at that point, in particular, that it is not nil. If that seems to be OK, try some more advanced debugging, later, and see if toolbaritem is still alive, and if so what is its view.

_______________________________________________

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


References: 
 >NSToolbarItem view set to NSButton view, but not showing... (From: "Peters, Brandon" <email@hidden>)
 >Re: NSToolbarItem view set to NSButton view, but not showing... (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: showing load progress for autosaved documents
  • Next by Date: Re: Mouse cursors and overlapping sibling NSViews
  • Previous by thread: Re: NSToolbarItem view set to NSButton view, but not showing...
  • Next by thread: Re: NSToolbarItem view set to NSButton view, but not showing...
  • Index(es):
    • Date
    • Thread