When trying to save a Dictionary<String, Any> into a Array <Dictionary<String, Any>>
system throws an exception EXC_BREAKPOINT. The same code but instead of AnyI used String was working fine: Dictionary<String, String > stored in an Array <Dictionary<String, String >>
Why this happens ? I suppose it has problems with Any type, however I can't solve this issue, because I need that Dictionary to store different kind of objects
Update
If I declare array var mListItems = Array<Dictionary<String, Any>>();
as a class property then it crashes, if mListItems is declared as local variable it WORKS