Re: Weird CGFloat issue

2010-04-18 Thread Gideon King
That was it - importing the wrong header. Thanks. > > Look like a problem where the method declaration does not match exactly the > definition (or you call the method without having imported the header and the > compiler don't know the method signature). > > -- Jean-Daniel > > > > ___

Re: Weird CGFloat issue

2010-04-18 Thread Raffael Cavallaro
On Apr 18, 2010, at 1:26 PM, Gideon King wrote: > > CGFloat newMin = 150.0f; > CGFloat newMax = 0.0f; > [mapContentSubview setMinDimension:newMin andMaxDimension:newMax]; > > The method is defined as: > > - (void)setMinDimension:(CGFloat)newMinDimension > andMaxDimension:(CGFloat)newMaxDimens

Re: Weird CGFloat issue

2010-04-18 Thread Jean-Daniel Dupas
Le 18 avr. 2010 à 19:26, Gideon King a écrit : > Hi all, > > I'm having a really strange problem with a simple method call: > > CGFloat newMin = 150.0f; > CGFloat newMax = 0.0f; > [mapContentSubview setMinDimension:newMin andMaxDimension:newMax]; > > The method is defined as: > > - (void)setM

Weird CGFloat issue

2010-04-18 Thread Gideon King
Hi all, I'm having a really strange problem with a simple method call: CGFloat newMin = 150.0f; CGFloat newMax = 0.0f; [mapContentSubview setMinDimension:newMin andMaxDimension:newMax]; The method is defined as: - (void)setMinDimension:(CGFloat)newMinDimension andMaxDimension:(CGFloat)newMaxDi