• 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: SplitView autolayout + autosave = proportionally resized views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SplitView autolayout + autosave = proportionally resized views


  • Subject: Re: SplitView autolayout + autosave = proportionally resized views
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 27 Mar 2014 16:58:02 -0700

On Thu, Mar 27, 2014, at 04:41 PM, Lee Ann Rucker wrote:
>
> On Mar 27, 2014, at 4:16 PM, Kyle Sluder wrote:
>
> >
> > Your right-side holding priority is pretty odd, but that combination
> > should result in the behavior you desire.
>
> Found that on a google search :)

I'd be wary about setting any priorities so low. The UIKit release notes
mention that setting the content hugging priority below 2 for a UIButton
can result in bad internal layout. Similar problems may arise on the
Mac.

A priority of 1 is even lower than the priority used by -[NSView
fittingSize] — that method uses NSLayoutPriorityFittingSizeCompression
(which is equal to 50).

>
> Yes, the delegate methods were the first things I ripped out when I made
> it autolayout, along with every setFrame:
>
> Done! rdar://16451287
>

Cool. I wish you a speedy and satisfactory reply. :)

--Kyle Sluder

_______________________________________________

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: 
 >SplitView autolayout + autosave = proportionally resized views (From: Lee Ann Rucker <email@hidden>)
 >Re: SplitView autolayout + autosave = proportionally resized views (From: Kyle Sluder <email@hidden>)
 >Re: SplitView autolayout + autosave = proportionally resized views (From: Lee Ann Rucker <email@hidden>)
 >Re: SplitView autolayout + autosave = proportionally resized views (From: Kyle Sluder <email@hidden>)
 >Re: SplitView autolayout + autosave = proportionally resized views (From: Lee Ann Rucker <email@hidden>)

  • Prev by Date: Re: SplitView autolayout + autosave = proportionally resized views
  • Next by Date: Re: NSInteger/NSUInteger Considerations (64 bit)
  • Previous by thread: Re: SplitView autolayout + autosave = proportionally resized views
  • Next by thread: Backup/restore Core Data SQLite store on iOS 7
  • Index(es):
    • Date
    • Thread