arrays - xcode6-beta5 crashes when creating a dictionary -
i'm little puzzled why switching xcode6-beta4 xcode6-beta5 bring breaking changes app! however, here looking at,
this code belongs view controller. i'm not sure other information helpful. trying things @ point...
and in console read fatal error: array element cannot bridged objective-c, leads me think can't have nsdictionary in array?
i rewrote
var suggestions:array<dictionary<string, string> > = [["str1": "s1", "str2": "s2"]]
but don't know why can't have nsdictionary in swift array.
Comments
Post a Comment