How to find a list of methods of type Array in Swift?

I am looking for a list of methods that I can use in Array in Swift. For example, you can run isEmptyin an array, but I could not find a list of all the methods.

For exmaple I could not find global functions like findin the formal documentation

+4
source share
1 answer

When you cmdclick on a built-in function or enter Xcode, you will see the generated file with all the contents of the module to which this function or type belongs. In this case, if you are a cmd-click type of Swift (for example String) or a function (for example find), you can see ads for the entire Swift built-in library.

+4
source

Source: https://habr.com/ru/post/1543738/


All Articles