Getting an error regarding the depreciation of API 'set value for key on a NSObject'
I am upgrading my code to Swift 4.2 . While upgrading in runtime the code is crashing at this point.
object.setValue(valueToSet, forKey: key)
Getting an error regarding the depreciation of API 'set value for key on a NSObject'
I am upgrading my code to Swift 4.2 . While upgrading in runtime the code is crashing at this point.
object.setValue(valueToSet, forKey: key)