Re: HUD Windows
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