Open ekapradityagk opened 6 years ago
so after i check, on the dataSource function you change each of dictionary from this
["ENABLED": 1, "URL": http://pinterest.com, "COLOR": 0xFF8F8F, "TITLE": All Pins, "CATEGORY": Pinterest]
into this
AHTag(category: "Pinterest", title: "All Pins", color: UIExtendedSRGBColorSpace 1 0.560784 0.560784 1, url: Optional(http://pinterest.com), enabled: true)
so i assuming i had to take out something in this function to mine, or change this piece of function to accept my array
private let dataSource = { () -> [Array
hi, so sorry for my previous opened issue,
at the moment im using your code and try to bypass your data source from json file and do this
` private func configureCell(_ object: AnyObject, atIndexPath indexPath: IndexPath) { if object.isKind(of: AHTagTableViewCell.classForCoder()) == false { abort() } let cell = object as! AHTagTableViewCell
`
but the compiler is reject it saying
the issue is still the same, i want to use my own set of array to generate data instead of json file