Re: HUD Windows
Re: HUD Windows
- Subject: Re: HUD Windows
- From: Brian Christensen <email@hidden>
- Date: Tue, 22 Jan 2008 18:46:05 -0500
On Jan 22, 2008, at 18:06, Jeremy wrote:
Ok, now I feel stupid with the B. But ok. I thought I got what you
are saying, band I am looking at my book, and it doesn't seem to be
helping me out much. I am not getting any warnings at all for this
code:
- (void)showLyrics:(id)sender
{
[lyricsWindow setTitle:[NSString stringWithFormat:@"%@ Lyrics",
[[iTunes currentTrack] name]]];
[lyricsText setTitle:[[iTunes currentTrack] lyrics]];
[window showWindow:lyricsWindow];
[lyricsWindow makeKeyWindow];
}
Try changing [lyricsWindow makeKeyWindow] to [lyricsWindow
makeKeyAndOrderFront:sender]. I'm also not sure what this line
"[window showWindow:lyricsWindow]" is supposed to do. Is your "window"
variable really a NSWindowController? What are you trying to
accomplish with that method invocation specifically?
/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