Why can I not use KVC from an Objective-C object to a Swift Property?
My team has decided that new files should be written in swift, and I am seeing an odd problem with using KVC in an Objective-C object to set a property on a Swift object. My Objective-C sets a property like so: [textObject setValue:0.0 forKey:@"fontSize"] My Swift object ( textObject ) has a custom setter/getter for this property. var fontSize: CGFloat? { get { return internalTextGraphic?.fontSize } set { internalTextGraphic?.fontSize = newValue } } However, if I set a breakpoint in the set , it never gets hit. I have Objective-C objects that also get this same call, and I just implement