Maybe the reason the compiler is crashing because your code is trying to override a stored property in obj-c with a computed property in Swift?I would recommend filing a bug with your example code above, since the compiler/sourcekit shouldn't be crashing like that, and should provide an error if there is a problem with the code.Is there a reason why you can't leave out the override of path: and just set it in init like you do with strokeColor?required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) strokeColor = UIColor.blackColor().CGColor path = staffPath() } override init() { super.init() strokeColor = UIColor.blackColor().CGColor path = staffPath() }
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: