Re: frame puzzle
Re: frame puzzle
- Subject: Re: frame puzzle
- From: David Rowland <email@hidden>
- Date: Thu, 22 Aug 2013 13:42:35 -0700
Good suggestion, but such is not the case. Most strange is that when I set a breakpoint and use control-click to print a description of rotationControl to the log, it shows a valid non-zero frame although qframe is zero. I have checked for zombies, but none reported.
On Aug 22, 2013, at 1:10 PM, Jeff Kelley <email@hidden> wrote:
> 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
_______________________________________________
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