New syntax for creating an array with string literals:
NSArray *currencies = @[@"Dollar", @"Euro", @"Pound"];
To fix your complication error the code must be in a method. If you want to use it statically then create a class method that follows the singleton pattern.