Dear All,
i tried to convert Object-c call in Swift using last stable SDK version:
AGSMapServiceInfo *serviceInfo = [AGSMapServiceInfo mapServiceInfoWithURL:serviceURL credential:nil error:&error];
the Swift equivalent seem is the following:
var serviceInfo : AGSMapServiceInfo;
serviceInfo = AGSMapServiceInfo(URL: serviceURL, credential: nil);
If i gets the following parameter:
serviceInfo.layerInfos
in Object-C works fine, but in Swift return NIL.
I tried a lot of example on internet but nothing works fine.
Could you please take a look?
Thanks and Regards.
Tony