<div dir="ltr">Thanks Philippe! <div><br></div><div>- Nethra Ravindran</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 21, 2017 at 10:44 PM, Philippe Hausler <span dir="ltr">&lt;<a href="mailto:phausler@apple.com" target="_blank">phausler@apple.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>The reasoning why is that some classes are designed as a has-a relationship instead of an is-a relationship. For example a NSRunLoop has a CFRunLoopRef but a NSString is a CFStringRef. This means that you cannot pass a NSRunLoop to a function that takes a CFRunLoopRef by design. Where-as any method that takes a CFStringRef can take a NSString.</div><div><br></div><div>The reasoning for this behavior is to match the behavior of the objective-c version of Foundation.</div><div><div class="h5"><br><div><blockquote type="cite"><div>On Feb 21, 2017, at 10:20 AM, Nethra Ravindran via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="m_4728607622392321060Apple-interchange-newline"><div><div dir="ltr">For example  NSURLComponents is not CFBridgeable.<div><br></div><div>- Nethra Ravindran</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 21, 2017 at 3:01 PM, Alex Blewitt <span dir="ltr">&lt;<a href="mailto:alblue@apple.com" target="_blank">alblue@apple.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Do you have a couple of examples that you&#39;re referring to?<div><br></div><div>Alex</div><div><br><div><blockquote type="cite"><div><div class="m_4728607622392321060h5"><div>On 21 Feb 2017, at 09:25, Nethra Ravindran via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="m_4728607622392321060m_-8680338034392766105Apple-interchange-newline"></div></div><div><div><div class="m_4728607622392321060h5"><div dir="ltr">Hi everyone,<div><br></div><div>To be more precise, I would like to know why few classes are not CFBridgeable.</div><div><br></div><div>Thank you.</div><div><br></div><div>- Nethra Ravindran</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 21, 2017 at 2:20 PM, Nethra Ravindran <span dir="ltr">&lt;<a href="mailto:nethraravindran94@gmail.com" target="_blank">nethraravindran94@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:helveticaneue;font-size:12px">Hi,</span><div style="font-family:helveticaneue;font-size:12px"><br></div><div style="font-family:helveticaneue;font-size:12px">I see that some classes are bridgeable and some are not. It would be great if someone can explain why few classes are not bridgeable.</div><div style="font-family:helveticaneue;font-size:12px"><br></div><div style="font-family:helveticaneue;font-size:12px">Thank you!</div><span class="m_4728607622392321060m_-8680338034392766105HOEnZb"><font color="#888888"><div style="font-family:helveticaneue;font-size:12px"><br></div><div style="font-family:helveticaneue;font-size:12px">- Nethra Ravindran</div></font></span></div>
</blockquote></div><br></div></div></div>
______________________________<wbr>_________________<br>swift-corelibs-dev mailing list<br><a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" target="_blank">https://lists.swift.org/mailma<wbr>n/listinfo/swift-corelibs-dev</a><br></div></blockquote></div><br></div></div></blockquote></div><br></div>
______________________________<wbr>_________________<br>swift-corelibs-dev mailing list<br><a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-<wbr>corelibs-dev</a><br></div></blockquote></div><br></div></div></div></blockquote></div><br></div></div>