FROM : Jeremy
DATE : Thu Jan 24 21:15:46 2008
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_removed>>
>>> 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_removed>)
>>
>> 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:
>> http://lists.apple.com/mailman/options/cocoa-dev/andrew.<email_removed>
>>
>> This email sent to andrew.<email_removed>
>
DATE : Thu Jan 24 21:15:46 2008
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_removed>>
>>> 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_removed>)
>>
>> 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:
>> http://lists.apple.com/mailman/options/cocoa-dev/andrew.<email_removed>
>>
>> This email sent to andrew.<email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

