I have a function is that takes a dictionary, and I need to parse the information inside.
I can get an NSArray out of the dictionary, but shouldn't I be able to access a native swift array?
class func parseResults(resultsDict:Dictionary<String, AnyObject>) -> Array<Track>? {
var results : NSArray = resultsDict["results"] as NSArray // This works
//var results : Array = resultsDict["results"] as Array<AnyObject> // This doesnt work
...
}