• 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: frame puzzle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: frame puzzle
      • From: Quincey Morris <email@hidden>
References: 
 >frame puzzle (From: David Rowland <email@hidden>)
 >Re: frame puzzle (From: Jeff Kelley <email@hidden>)

  • Prev by Date: Re: Variable Number of Parameters in Method
  • Next by Date: Re: frame puzzle
  • Previous by thread: Re: frame puzzle
  • Next by thread: Re: frame puzzle
  • Index(es):
    • Date
    • Thread