• 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
Assetion failure related to menus and notifications.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Assetion failure related to menus and notifications.


  • Subject: Assetion failure related to menus and notifications.
  • From: Dan Saul <email@hidden>
  • Date: Sun, 5 Dec 2004 19:53:30 -0600

I am relatively new to cocoa, been hobby programming for a while,
while researching distributed notifications for one of my new programs
it seems the newest version of iTunes sends out song information as a
distributed notification, this is way better then the old method of
using applescript for whatever we decided to use it for, the downside
is you still need to use applescript to control it.

I have tried to make a small NSStatusItem that would control itunes
and display history in an easy to use way, however i am having a
problem, whenever i close itunes i get this error:

2004-12-05 19:31:45.097 iTunesMenulet[4682] *** Assertion failure in
-[NSMenuItem initWithTitle:action:keyEquivalent:],
Menus.subproj/NSMenuItem.m:115
2004-12-05 19:31:45.097 iTunesMenulet[4682] Exception raised during
posting of notification.  Ignored.  exception: Invalid parameter not
satisfying: aString != nil

The source is in a link below if anyone needs to get a better picture
of what is happening, it is too big to post the entire source here in
this email. THe problem happens in -recentPlaying ~line 144.

http://catsdorule.torpedobird.com/download/iTunesMenulet.zip

Thanks a lot,
Dan Saul
 _______________________________________________
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

  • Prev by Date: Re: KeyTranslate and UCKeyTranslate question
  • Next by Date: Location of dylib's
  • Previous by thread: [Moderator] Tiger/NDA'd discussions
  • Next by thread: Location of dylib's
  • Index(es):
    • Date
    • Thread