If any of appDelegate, appDelegate.buttonController, or
appDelegate.buttonController.rotationControl return nil, then the value of
appDelegate.buttonController.rotationControl.frame will be a zeroed-out
struct.

Jeff Kelley


On Thu, Aug 22, 2013 at 4:05 PM, David Rowland <rowla...@sbcglobal.net>wrote:

>
>
>   CGRect tframe = CGRectMake(12, 12, 100, 100);
>   [appDelegate.buttonController.rotationControl setFrame:tframe];
>   CGRect qframe = appDelegate.buttonController.rotationControl.frame;
>
>
> buttonController is a UIViewController, rotationControl is a UIControl.
> When this is executed qframe is reported as (0, 0, 0, 0). Does anyone see
> what is wrong?
>
> thanks,
>
> David
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/slaunchaman%40gmail.com
>
> This email sent to slauncha...@gmail.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to