This question is related to understanding the Swift language based on what syntactic components are already acceptable by Xcode. For example, the word for
is already acceptable and it can be used inside a nesting environment. The same is true for the other syntactic components (for example struct, func, etc.) that are already known by the compiler and the behavior of the compilation processes is based on the recognition of the syntactic components that do not need any kind of name associations (for example, func AskDifferent{}
where AskDifferent
is the name associated by the user for the creation of a function).
In simple terms, is there a way to figure out the total number of existing syntactic components (mainly keywords whose functional value is already defined by Xcode) already present in Xcode? If it is possible, it can reduce the time to document the Swift components that can be sequentially used by new developers to make new user interfaces through Xcode.
Waiting for the answer.
Cheers!