Re: HUD Windows
Re: HUD Windows
- Subject: Re: HUD Windows
- From: Rimas <email@hidden>
- Date: Wed, 23 Jan 2008 01:51:36 +0200
Please check that lyricsWindow is connected to window, not something
else. Because warning says, that the receiver is NSTextField, which
does not respond to setTitle (it has setStringValue). You can check
this with NSLog(@"lyricsWindow class is: %@", [lyricsWindow
className]);
On Jan 23, 2008 1:45 AM, Jeremy <email@hidden> wrote:
> OK,
>
> Yes, they are connected. This is the actual console log:
>
>
> 2008-01-22 18:43:49.599 Tune-A-Holic[8099:10b] Window: <NSPanel: 0x12e840>
> 2008-01-22 18:43:49.617 Tune-A-Holic[8099:10b] Text: <NSTextField: 0x126cb0>
> 2008-01-22 18:43:49.644 Tune-A-Holic[8099:10b] *** -[NSTextField setTitle:]:
> unrecognized selector sent to instance 0x126cb0
> 2008-01-22 18:43:49.699 Tune-A-Holic[8099:10b] *** -[NSTextField setTitle:]:
> unrecognized selector sent to instance 0x126cb0
>
>
>
> The only problem I am seeing is the unrecognized selector... I am using this
> code:
>
>
> [lyricsWindow setTitle:[NSString stringWithFormat:@"%@ Lyrics",[[iTunes
> currentTrack] name]]];
>
>
> Any help again would be appreciated. I feel really stupid... lol.
_______________________________________________
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