In this thread the meaning of the @ symbol is explained: What does the '@' symbol mean in Swift?
In the thread @ is said to identify an attribute. But there's another statement saying it's a "compiler directive". I've also learned that the Objective-C like Swift statement: @autoreleasepool {...} nowdays can be used without the @ symbol.
So this leaves me quite puzzled. What is the actual meaning of the @ symbol itself? It seems to me it can be used for more than attributes but I've found no document explaining the exact rules for how to use @. Mostly I find examples on how to use it as an attribute.
Or is it that the language has changed lately and nowdays, with Swift 4, @ is for attributes only?
EDIT: Since I had remarks I should not ask about Swift and Objective C in the same thread I've edited the text to focus on Swift.