Swift: KVO functionality on non-NSObject based classes

Originator:stephan.michels
Number:rdar://17228960 Date Originated:09-Jun-2014 10:16 AM
Status:Open Resolved:
Product:Developer Tools Product Version:
Classification:Feature (New) Reproducible:Always
 
The “willSet” and “didSet” is a great syntax, but almost useless for other than for very basic properties.

We must be able to add callbacks from other instances than the classes itself to build something which works similar to KVO

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!