• 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: HUD Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HUD Windows


  • Subject: Re: HUD Windows
  • From: Brian Christensen <email@hidden>
  • Date: Tue, 22 Jan 2008 19:36:00 -0500

On Jan 22, 2008, at 19:25, Jeremy wrote:

Ok,

Now I am getting the HUD window to show up, but lyricsText won't change from "Lyrics" (my generic title). I used this line of code:

[lyricsText setTitle:[[iTunes currentTrack] lyrics]];

This log output you provided...

2008-01-22 18:43:49.699 Tune-A-Holic[8099:10b] *** -[NSTextField setTitle:]: unrecognized selector sent to instance 0x126cb0

...should be your indicator that something is wrong with that line of code. It means you're trying to invoke a method that doesn't exist for the NSTextField class. The solution in this case is to use setStringValue: instead, but to avoid these mistakes in the future you should refer to the reference documentation and/or the appropriate .h file (in this case, NSTextField.h) when you see a message like that.

/brian

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: HUD Windows
      • From: "Kyle Sluder" <email@hidden>
References: 
 >HUB Windows (From: Jeremy <email@hidden>)
 >Re: HUB Windows (From: "Kyle Sluder" <email@hidden>)
 >Re: HUD Windows (From: Jeremy <email@hidden>)
 >Re: HUD Windows (From: Scott F Bayes <email@hidden>)
 >Re: HUD Windows (From: Jeremy <email@hidden>)
 >Re: HUD Windows (From: Rimas <email@hidden>)
 >Re: HUD Windows (From: Rimas <email@hidden>)
 >Re: HUD Windows (From: Rimas <email@hidden>)
 >Re: HUD Windows (From: Jeremy <email@hidden>)

  • Prev by Date: Re: HUD Windows
  • Next by Date: Re: HUD Windows
  • Previous by thread: Re: HUD Windows
  • Next by thread: Re: HUD Windows
  • Index(es):
    • Date
    • Thread