Hi David,
Are padding or spacing computed properties that access either rectangle? They
aren't defined in your stripped down code. For example:
var spacing: CGFloat {
return imageRect.maxX
}
Without doing something like that, I don't see the same access conflicts that
you're seeing.
-Kyle
Hello,
In Xcode 9 beta 4, Swift 4, I’m getting runtime errors popping up for
Simultaneous accesses and I think they may be false negatives. Here’s a
stripped down version of my code:
class MyButton: UIButton {
fileprivate var imageRect: CGRect = .zero
fileprivate var titleRect:
For the mail (so it's easier to find than in a bug tracking system) the fix is
to specify the clang include headers either with an -I on the swift invocation
command line, or via the variables C_INCLUDE_PATH and CPLUS_INCLUDE_PATH
setting the C_INCLUDE_PATH and CPLUS_INCLUDE_PATH environment var