Jiri Trecak
Jiri Trecak

Reputation: 5122

Autocomplete by method return type in Swift / XCode

So in Obj-C, you could do following: You start typing, type + or - and then return type of method, and it would filter out results of autocomplete to only include methods that return that type, like this:

enter image description here

This is extremely helpful in some cases where your methods begin with the same prefix (ie. tableview delegate methods). But as it stands out, this is currently not possible with swift methods, or at least I have not figured out how to do it.

Is there a way using just clean XCode, or maybe some extension to it?

Thank you!

Upvotes: 1

Views: 270

Answers (1)

Related Questions