<html><body><div>For our application projects, I've certainly been keeping an eye on alternatives (we're still very early in our Swift transition.) But for applications we're only working on Cocoa platforms, so the need for an alternative hasn't been as pressing (we're just continuing to use KVC/KVO using NSObject subclasses.)</div><div><br data-mce-bogus="1"></div><div>As an API developer as well, I'm a little hesitant to commit to any of the alternatives. There is a lot of advantages in assuming a developer using your API on an Apple platform is familiar with Cocoa (and going forward, that a Swift developer is familiar with Foundation), and any new construct&nbsp;you add outside of that simply adds more learning overhead. There's also the possibility that the dependency we use is incompatible with a version inside the user's application (which can be dealt with, just a little messy.) This also isn't an issue for us at this point (without ABI stability we can't ship a closed source library without a lot of pain, and we're still only supporting Cocoa platforms.) </div><div><br data-mce-bogus="1"></div><div>One of the reasons I'd love to see Apple lead on this is that I'd like to see it as a language paradigm all of our developers will be familiar with. Open source Swift means that we could dramatically expand our developer base of our API to other platforms, but it also means we need to be able to get away from Cocoa functionality.</div><div><br data-mce-bogus="1"></div><div>Glad to see it's on the list of things to do, but also glad to see ABI stability being discussed so much. ABI stability is the biggest stop-ship for us for porting our SDKs to Swift. :)</div><div><br>On Dec 03, 2015, at 01:19 PM, Adrian Kashivskyy &lt;adrian.kashivskyy@me.com&gt; wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote" style="word-wrap: break-word;" data-mce-style="word-wrap: break-word;">Colin,<div class=""><br class=""></div><div class="">Until KVC/KVO is supported, you may be interested in using constructs like Observable&lt;T&gt;. Here are some illustrative libraries that make use of it: <a href="https://github.com/SwiftBond/Bond" class="" data-mce-href="https://github.com/SwiftBond/Bond">SwiftBond/Bond</a>,&nbsp;<a href="https://github.com/slazyk/Observable-Swift" class="" data-mce-href="https://github.com/slazyk/Observable-Swift">slazyk/Observable-Swift</a>.</div><div class=""><br class=""></div><div class=""><div class=""><div style="color: #000000; font-family: 'helvetica'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="" data-mce-style="color: #000000; font-family: 'helvetica'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span color="#929292" data-mce-style="color: #929292;" style="color: #929292;">Pozdrawiam – Regards,</span></div><div style="color: #000000; font-family: 'helvetica'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="" data-mce-style="color: #000000; font-family: 'helvetica'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span color="#929292" data-mce-style="color: #929292;" style="color: #929292;">Adrian Kashivskyy</span></div></div><br class=""><div><blockquote type="cite" class=""><div class="">Wiadomość napisana przez Chris Lattner &lt;<a href="mailto:clattner@apple.com" class="" data-mce-href="mailto:clattner@apple.com">clattner@apple.com</a>&gt; w dniu 03.12.2015, o godz. 22:00:</div><div class=""><div class="">On Dec 3, 2015, at 12:49 PM, Colin Cornaby &lt;<a href="mailto:colin.cornaby@mac.com" class="" data-mce-href="mailto:colin.cornaby@mac.com">colin.cornaby@mac.com</a>&gt; wrote:<br class=""><blockquote type="cite" class="">I looked through the Swift Foundation this morning to see if there was evidence of KVO/KVC, but I didn't find any. Apologies if I missed anything. I'm assuming KVO/KVC is still incompatible with pure Swift, but I was looking for evidence that maybe something had been added in NSObject.<br class="">..<br class=""><br class="">Are there any plans to add anything like KVO or KVC to pure Swift, with maybe something the bridges to Obj-C KVO?<br class=""></blockquote><br class="">Hi Colin,<br class=""><br class="">This is one of *many* things that we are interested in working on some day, but we need to stay focused on shorter term goals (like getting to ABI stability) to make sure we are successful with those. &nbsp;If you’re working on Apple platforms, Swift does interoperate with the Objective-C KVO implementation, using the “dynamic" keyword.<br class=""><br class="">-Chris<br class=""><br class="">_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="" data-mce-href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" data-mce-href="https://lists.swift.org/mailman/listinfo/swift-evolution">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""></div></div></blockquote></div><br class=""></div></div></blockquote></div></body></html>