Yeah, I think you’re gonna have to ask on stack overflow or ADF.
I assume NSSavePanel()
is creating a new instance every time and not just a static panel?
I’d also suggest that using just an underscore for the propertyname is weird, but I think that’s just taste.
Have you tried not overriding the NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints
you may need to remove that key from the userdefaults.
DaveS
22
Actually the use of an “_” is a proper convention… when the result is meant to be thrown away as it was for this test
Had I said
let x = xx.runModal()
the Swift compiler would have issued an “X is written but not read, warning”
and yes, I had removed the NSConstraint key
DaveS
23
SAM!!! YOU HIT IT ON THE HEAD
You said “remove”, and I just commented it out, but the key was already there!
I set it to FALSE, and the freaking thing WORKED!!!
Now, I wonder why I had it there in the first place, and if it will adversely affect something else
1 Like