• 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: iOS: Automatically resizing subviews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS: Automatically resizing subviews


  • Subject: Re: iOS: Automatically resizing subviews
  • From: Development <email@hidden>
  • Date: Mon, 06 Jun 2011 10:56:29 -0700

On Jun 6, 2011, at 10:00 AM, Kyle Sluder wrote:

> On Jun 6, 2011, at 9:35 AM, Development <email@hidden> wrote:
>
>>
>> That might be the problem. I'm not doing this in IB. I'm creating the view's programatically.
>>
>> I also noticed that no matter what I do, the subview's auto resizing mask always returns 0;
>
> Did you make sure you didn't accidentally create multiple copies of your view?

	Yes, I've verified that only one copy per view object is added. Meaning. The application might have several instances of the class however when the class is initialized it is the only copy with it's parameters

>
>>
>> Actually the whole thing is a screwed up mess.
>>
>> Neither view seems to respond to the drawing code I try to use. For instance. I want the outer view to have a dashed border around it when it is selected.
>
> Your terminology bothers me. Views don't "respond to" drawing code, they perform it within -drawRect:. Are you trying to draw into the view from elsewhere?

	your right, not the right term I suppose.
	No, I am using the view's drawInRect: method to do all drawing. and more or less I get nothing.

>
> --Kyle Sluder
> (Sent from the WWDC keynote line)

_______________________________________________

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: 
 >iOS: Automatically resizing subviews (From: Development <email@hidden>)
 >Re: iOS: Automatically resizing subviews (From: David Duncan <email@hidden>)
 >Re: iOS: Automatically resizing subviews (From: Development <email@hidden>)
 >Re: iOS: Automatically resizing subviews (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: How disable Special Characters menu item?
  • Next by Date: Re: How disable Special Characters menu item?
  • Previous by thread: Re: iOS: Automatically resizing subviews
  • Next by thread: Can NSNotificationCenter Memorize Old Events?
  • Index(es):
    • Date
    • Thread