I have a class (say, it is called ServerAPI), in which there is a method that takes an array of structures as an argument. This structure (say, it is called Picfiles) is described in this class.
Then from another class, I declare an instance of this class (ServerAPI) and I want to embed an array consisting of structures that are described by the ServerAPI class. But I am unable to declare and initialize such an array.
If I write this: var pics = ServerAPI.Picfiles, then xcode swears and says that it is necessary to remove (), but this does not work without brackets either.
How do I create such an array to enclose it as an argument to a method?