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 <slauncha...@gmail.com> 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 <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/rowlandd%40sbcglobal.net
> 
> This email sent to rowla...@sbcglobal.net


_______________________________________________

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