<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">I don&#39;t know if you are using an IDE, but in Xcode. I can just cmd+mouse left click to see the code headers. </div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Zhaoxin </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 2:22 AM, Jon Shier via swift-users <span dir="ltr">&lt;<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">        I’ve had good luck with being able to click the candidates in cases like this so Xcode will navigate to those bits of code. However, in this case I think the issue is that the candidates weren’t from user code but from the standard library, which Xcode has all sorts of issues navigating within, seemingly at random.<br>
        As an aside, it would be really cool if, instead of seeing the standard library as a compiled module, Xcode could navigate to the relevant source code (perhaps optionally). Otherwise I’m stuck either looking at documentation (Apple’s docs or swiftdocs) and if that doesn’t help, trying to navigate to the relevant code in GitHub. This is especially true for things like finding out what the default values defined for functions are, as the documentation just shows default, which is useless.<br>
<br>
<br>
Jon<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; On Feb 16, 2017, at 1:16 PM, Jordan Rose via swift-users &lt;<a href="mailto:swift-users@swift.org">swift-users@swift.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; As usual the candidates are unknown.<br>
&gt;<br>
&gt; Just on this particular note, this is a terrible presentation issue and totally something we Apple people need to fix in Xcode, but you can usually see what the candidates were in the build log.<br>
&gt;<br>
&gt; Jordan<br>
&gt;<br>
&gt;<br>
&gt;&gt; On Feb 16, 2017, at 07:56, J.E. Schotsman via swift-users &lt;<a href="mailto:swift-users@swift.org">swift-users@swift.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; I am trying to define an operator that subtracts dispatch times:<br>
&gt;&gt;<br>
&gt;&gt; #import Dispatch<br>
&gt;&gt;<br>
&gt;&gt; func -( time1: DispatchTime, time2: DispatchTime ) -&gt; DispatchTimeInterval<br>
&gt;&gt;      {<br>
&gt;&gt;      return DispatchTimeInterval.<wbr>nanoseconds( time2.uptimeNanoseconds - time1.uptimeNanoseconds )<br>
&gt;&gt;      }<br>
&gt;&gt;<br>
&gt;&gt; Compiler says: Ambiguous use of operator ‘-&#39;<br>
&gt;&gt; Found this candidate<br>
&gt;&gt; Found this candidate<br>
&gt;&gt;<br>
&gt;&gt; As usual the candidates are unknown.<br>
&gt;&gt;<br>
&gt;&gt; What am I doing wrong?<br>
&gt;&gt;<br>
&gt;&gt; Jan E.<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; swift-users mailing list<br>
&gt;&gt; <a href="mailto:swift-users@swift.org">swift-users@swift.org</a><br>
&gt;&gt; <a href="https://lists.swift.org/mailman/listinfo/swift-users" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-users</a><br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; swift-users mailing list<br>
&gt; <a href="mailto:swift-users@swift.org">swift-users@swift.org</a><br>
&gt; <a href="https://lists.swift.org/mailman/listinfo/swift-users" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-users</a><br>
<br>
______________________________<wbr>_________________<br>
swift-users mailing list<br>
<a href="mailto:swift-users@swift.org">swift-users@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-users" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-users</a><br>
</div></div></blockquote></div><br></div>