• 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: Re: Bottom-edge constraint not enforced in IB but is in runtime?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Bottom-edge constraint not enforced in IB but is in runtime?


  • Subject: Re: Re: Bottom-edge constraint not enforced in IB but is in runtime?
  • From: Marc Respass <email@hidden>
  • Date: Mon, 09 Jul 2012 10:57:30 -0400

> I'm also finding that NSSplitView's pane views seem to have the translatesAutoresizingMaskIntoConstraints property set to true by default, even when built strictly in IB. Is this correct? Xcode 4.3.2.

Hi Rick,

I really encourage you to watch all three WWDC 2012 videos on constraints. That will answer a lot of questions. Constraints are tricky for me and those sessions cleared up a lot of things including priorities. You'll watch someone setup constraints to do things that previously required a split view to handle.

IB is trying to give you good constraints but more importantly it is always going to create valid constraints. I don't remember what the default setting is for translatesAutoresizingMaskIntoConstraints (and I can't find it in IB) but I'm sure that if you are using constraints that translatesAutoresizingMaskIntoConstraints should be NO.

Good luck
Marc

_______________________________________________

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: Bottom-edge constraint not enforced in IB but is in runtime?
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: NSInteger vs int vs int32_t
  • Next by Date: Re: Arrgh IB constraints
  • Previous by thread: Re: Bottom-edge constraint not enforced in IB but is in runtime?
  • Next by thread: Re: Bottom-edge constraint not enforced in IB but is in runtime?
  • Index(es):
    • Date
    • Thread