I've found that
#define S(s) @#s
self.scopeDisplayNames = @[S(SPTAuthUserReadPrivateScope), S(SPTAuthUserReadEmailScope)];
It declares a macro function that turns the parameter into a
NSString literal. For example,
S(hi) would expand to
And to answer your second question, there is no way to do this in Swift that I am aware of. It's not a good idea in either language, anyway.