Home > Blockchain >  List of Swift Global functions
List of Swift Global functions

Time:09-12

Is there an updated list of Swift global functions? That is, functions that can be accessed from anywhere without the scope of a specific type, like max(),min(),dump(), zip(), sequence(), etc.

On the Apple docs the nearest link I found out is link, but it only refers min and max.

CodePudding user response:

When building project documentation in docC by default all the global functions for a particular module are grouped under Functions section similar to Protocols section for protocols etc. Apple has customized this behavior so that global functions are grouped in different sections depending on their usage topic. Right now there is no way to list all of the global functions, you have to find them one by one manually. However, there is some work going on to implement fuzzy search on docC documentations to search using certain type of symbols etc.

  • Related