Usually for logging this sort of thing, you're behooved to use the convenience 
methods provided in UIGeometry.h, namely NSStringFromCGRect() or 
NSStringFromCGPoint().

Luke

On Apr 28, 2010, at 9:50 AM, Fritz Anderson wrote:

> On 27 Apr 2010, at 8:56 PM, Matt James wrote:
> 
>> Unfortunately, NSLog-ing the values of label.frame.size.width and
>> containerView.frame.size.width shows that the values are "0".
> 
> Show us your code, particularly all the lines that call NSLog. The first 
> thing I'm looking to see is whether you're trying to print the width with %d 
> or %i.
> 
>       — F
> 
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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/luketheh%40apple.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to