Re: HUD Windows
Re: HUD Windows
- Subject: Re: HUD Windows
- From: Jeremy <email@hidden>
- Date: Thu, 24 Jan 2008 15:15:46 -0500
Yep,
that was my problem. now to see if it actually scrolls and stuff. :)
Thanks,
"How would a car function if it were designed like a computer?
Occasionally, executing a maneuver would cause your car to stop and
fail and you would have to re-install the engine, and the airbag
system would say, 'Are you sure?' before going off." - Katie Hafner
On Jan 23, 2008, at 8:24 PM, Andrew Merenbach wrote:
Hi, Jeremy,
You wouldn't happen to have "Release when closed" checked for the
window's attributes in Interface Builder?
Cheers,
Andrew
On Jan 23, 2008, at 12:20 PM, Jeremy wrote:
Hey,
OK. So now I got it working and all that. But the application
stalls when it is opened for the second time (no matter what).
Here's the code:
- (void)showLyrics:(id)sender
{
[lyricsWindow setTitle:[NSString stringWithFormat:@"%@ - Lyrics",
[[iTunes currentTrack] name]]];
[lyricsWindow makeKeyAndOrderFront:sender];
[lyricsText setStringValue:[[iTunes currentTrack] lyrics]];
}
On Jan 22, 2008, at 7:58 PM, Kyle Sluder wrote:
On Jan 22, 2008 7:36 PM, Brian Christensen <email@hidden>
wrote:
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.
Blame me for that one, I was playing it from memory.
--Kyle Sluder
_______________________________________________
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
_______________________________________________
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