Re: frame puzzle
Re: frame puzzle
- Subject: Re: frame puzzle
- From: Jeff Kelley <email@hidden>
- Date: Thu, 22 Aug 2013 16:10:50 -0400
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 <email@hidden>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 (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: | |
| >frame puzzle (From: David Rowland <email@hidden>) |