Thanks for the responses. It looks like it was a problem with how I was
instantiating my NSStackView subclass in the xib. I dragged in a Custom
View and then changed the class, I guess assuming that IB would see that my
class is a subclass of NSStackView. Of course, what I should have done was
drag
I would be willing to bet that you are throwing a lot of constraint exceptions
without realizing it.
When the view is laid out the constraints are evaluated, including the
priorities. When a set
of constraints has a conflict with another (very easy to do) the priorities
come into play. If
you se
I might try it, but it's difficult to do accurately because the views are
assembled programmatically - it's dynamically generated based on the data
read in.
On Fri, Mar 16, 2018 at 10:37 AM, Richard Charles
wrote:
>
> > On Mar 16, 2018, at 9:03 AM, David Catmull
> wrote:
> >
> > After I set up
> On Mar 16, 2018, at 9:03 AM, David Catmull wrote:
>
> After I set up a somewhat complex view hierarchy, I'm getting a crash with
> this exception:
>
> 2018-03-16 08:59:21.814873-0600 App[31201:13046721] *** Assertion failure
> in -[NSLayoutConstraint setPriority:],
> /BuildRoot/Library/Caches
I found that in my googling, but since I'm not changing priorities, it
wasn't helpful.
On Fri, Mar 16, 2018 at 10:06 AM, Richard Charles
wrote:
>
> > On Mar 16, 2018, at 9:03 AM, David Catmull
> wrote:
> >
> > After I set up a somewhat complex view hierarchy, I'm getting a crash
> with
> > this
> On Mar 16, 2018, at 9:03 AM, David Catmull wrote:
>
> After I set up a somewhat complex view hierarchy, I'm getting a crash with
> this exception:
>
> 2018-03-16 08:59:21.814873-0600 App[31201:13046721] *** Assertion failure
> in -[NSLayoutConstraint setPriority:],
> /BuildRoot/Library/Caches
After I set up a somewhat complex view hierarchy, I'm getting a crash with
this exception:
2018-03-16 08:59:21.814873-0600 App[31201:13046721] *** Assertion failure
in -[NSLayoutConstraint setPriority:],
/BuildRoot/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1451/Foundation/Layout.s