• 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: Kyle Sluder <email@hidden>
  • Date: Mon, 06 Jun 2011 10:00:59 -0700

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?

>
> 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?

--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

  • Follow-Ups:
    • Re: iOS: Automatically resizing subviews
      • From: Development <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>)

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