Hi All.

I just discovered that you can’t write an extension on AnyObject. What’s the 
reasoning behind this?

I’m trying to write my own version of KeyValueObserving, and it would be really 
nice to be able to write

    self.observe(someObject, keyPath) {
        blah de blah
    }

from anywhere.

Thanks!

-Kenny

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to