<div dir="ltr">My apologies I didn't realise you could do that in Swift.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"> -- Howard.<br></div></div>
<br><div class="gmail_quote">On 11 March 2016 at 08:43, Joe Groff <span dir="ltr"><<a href="mailto:jgroff@apple.com" target="_blank">jgroff@apple.com</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"><br><div><span class=""><blockquote type="cite"><div>On Mar 10, 2016, at 1:43 PM, Howard Lovatt <<a href="mailto:howard.lovatt@gmail.com" target="_blank">howard.lovatt@gmail.com</a>> wrote:</div><br><div><div dir="ltr">@T.J.,<div><br></div><div>Swift does not allow overloading on return type. You cannot write:</div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>func f() -> Int</div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>func f() -> String</div></blockquote></div></div></div></blockquote><div><br></div></span><div>You can.</div></div><span class="HOEnZb"><font color="#888888"><br><div>-Joe</div></font></span></div></blockquote></div><br></div>