Re: Cocoa app fails when using 10.4 Universal SDK
Re: Cocoa app fails when using 10.4 Universal SDK
- Subject: Re: Cocoa app fails when using 10.4 Universal SDK
- From: Ricky Sharp <email@hidden>
- Date: Wed, 8 Jun 2005 16:47:28 -0500
On Jun 8, 2005, at 7:22 AM, Ricky Sharp wrote:
Thanks to all for their replies; glad to hear your apps are a-ok.
I'm not going to rule out a bug in my code, but this could be
something strange about the 10.4u SDK. Tonight I'll try out the
10.4 SDK.
Something has gone horribly wrong somewhere. I throttled back to
using the 10.4.0 SDK and while I no longer get bogus values in my
ivars, going through the debugger yields bad results.
For example, take this simple getter on my control:
- (int)currentValue
{
return [[self cell] currentValue];
}
and cell:
- (int)currentValue
{
return currentValue;
}
In my control, I have a method which does this:
int theOldCurrentValue = [self currentValue];
The cell's currentValue is set to 50. Yet theOldCurrentValue always
is set to 0. I can step into the cell and verify that currentValue
is indeed 50.
I have a feeling that I have a very hosed install of Xcode 2.1. I'll
now be moving this thread to xcode since it doesn't seem related
specific to Cocoa.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden