You can option-click the function to see the documentation pop-up in xcode. That shows you the return type.