• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UIView, UILabel, and sizeToFit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIView, UILabel, and sizeToFit


  • Subject: Re: UIView, UILabel, and sizeToFit
  • From: Luke the Hiesterman <email@hidden>
  • Date: Wed, 28 Apr 2010 10:05:41 -0700

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@hidden)
>
> 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:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >UIView, UILabel, and sizeToFit (From: Matt James <email@hidden>)
 >Re: UIView, UILabel, and sizeToFit (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Differences in NSFileWrapper -initSymbolicLinkWithDestination: and -initSymbolicLinkWithDestinationURL:? [SOLVED]
  • Next by Date: Re: Cocoa Newbie & MySQL
  • Previous by thread: Re: UIView, UILabel, and sizeToFit
  • Next by thread: Re: UIView, UILabel, and sizeToFit
  • Index(es):
    • Date
    • Thread