1.
Type ' Any ' have no subscript members
This one is simply baffling. The general meaning is, you this type "any" is not the array or the dictionary, cannot follow the subscript to take the thing.
I previously created a dictionary by default in a method, and the compiler thought it was a dictionary, so allow me to fetch things, but now the compiler is out of the way, saying that you have to tell me it's a dictionary and I can get you to pick things up. Okok.
1 (DIC as! Nsdictionary)
Similarly, there are various types of mismatches that can be cast. (secretly say, really miss OC's weak type of time ~)
Http://www.cnblogs.com/SoulKai/p/6056659.html
2.
Dispatchqueue. Global (QoS:. Background). async { // background Threadlet rs = db.executequery (SQL, Withargumentsin: []) = [Noteitemmodel] () DispatchQueue.main.async { // Run UI Updates callBack (Arraym) } }
13th Month 10th Day swift3.0