<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>That's probably part of the new naming guidelines. </div><div><br>On Jul 13, 2016, at 7:13 AM, Nate Birkholz <<a href="mailto:nbirkholz@gmail.com">nbirkholz@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Is this a change to NSThread in the release, or to the language, dropping empty () when calling methods? If the latter, what proposal is it? i can't find it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 13, 2016 at 12:41 AM, Jose Cheyo Jimenez via swift-users <span dir="ltr"><<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>></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>//swift 2.2+</div><div>NSThread.isMainThread()</div><div><br></div><div>//swift 3+</div><div>Thread.isMainThread</div><div><br></div><br><div><blockquote type="cite"><div>On Jul 13, 2016, at 12:27 AM, qi bo via swift-users <<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:</div><br><div>
<div><p dir="auto">isMainThread is an method in object-c. how to indicate current thread is main thread?</p><p dir="auto">thank you<br>
Bob</p>
</div>
_______________________________________________<br>swift-users mailing list<br><a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-users" target="_blank">https://lists.swift.org/mailman/listinfo/swift-users</a><br></div></blockquote></div><br></div><br>_______________________________________________<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/mailman/listinfo/swift-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Nate Birkholz</div>
</div>
</div></blockquote></body></html>