hi,, can we change the data source from json file, to nsdictionary or array?
me and my friend on a combine project (objc-swift), and him as a swift developer using this library but having a difficulty of getting data to tags label using nsdictionary or array, and he change it to sqllite, but the issue become bigger.. currently i already convert the code in swift to get the selected data to nsarray, but i still struggling for setup the setTags file.
if self.fundArr.count != 0 { print(self.fundArr.count) var arrSourceFound = self.fundArr for element in arrSourceFound { print(element) } // for index in 0...self.fundArr.count - 1 { // let sourcefund:SqlLite_SourceFund = self.fundArr.object(at: index) as! SqlLite_SourceFund //// print("data source fund " + sourcefund) //// for (myKey,myValue) in sourcefund { //// print("\(myKey) \t \(myValue)") //// } // arrSourceFound.append(sourcefund) // } cell.label.setTags(arrSourceFound as! [AHTag])
this is what im struggling for, to settags my array as ahtag, its quite hard for me since i am an objective c developer, and this code need to be done using swift (his partt)
the one in commented is what my partner doing,, he changed it to sqllite, but its become a bigger issue, thats why i want to convert it to nsdictionary / nsarray as a datasource
hope anyone here can help me to solve this issue..
regards,
Eka