Re: Accessor works intermittently

2009-10-01 Thread Colin Howarth
Sorry, I accidentally posted my initial question (Doesn't one get a compiler warning about several methods being possible?) only to Stephen, not the list. On 1 Oct, 2009, at 07:10, Stephen J. Butler wrote: On Wed, Sep 30, 2009 at 10:16 PM, Colin Howarth co...@howarth.de wrote: Doesn't

Re: Accessor works intermittently

2009-10-01 Thread Greg Parker
On Sep 30, 2009, at 7:56 PM, Stephen J. Butler wrote: On Wed, Sep 30, 2009 at 6:41 PM, David Hirsch dhir...@mac.com wrote: I cannot figure out why this does not work: Phase *thisPhase = [phases objectAtIndex:i]; float testmode = [thisPhase mode];

Accessor works intermittently

2009-09-30 Thread David Hirsch
I cannot figure out why this does not work: Phase *thisPhase = [phases objectAtIndex:i]; float testmode = [thisPhase mode]; float testmode2 = [[phases objectAtIndex:i] mode]; Following along with the code execution in the debugger, testmode gets

Re: Accessor works intermittently

2009-09-30 Thread Stephen J. Butler
On Wed, Sep 30, 2009 at 6:41 PM, David Hirsch dhir...@mac.com wrote: I cannot figure out why this does not work:                Phase *thisPhase = [phases objectAtIndex:i];                float testmode = [thisPhase mode];                float testmode2 = [[phases objectAtIndex:i] mode];