ios - Displaying Parse Images in UICollectionView Parse.com -
im new ios programming thank patience. creating collection view images , labels downloaded parse.com backend. able display labels in collection view trying corresponding images well.
i uncertain how . please sos
here function
// brands func getbrand () { // create pfquery var query:pfquery = pfquery(classname: "brandinfo") // call findobjects query.findobjectsinbackgroundwithblock { (objects:[anyobject]?, error: nserror?) -> void in // refresh array self.brands = [string]() // loop through array brandobject in objects! { // pfobjects let brandname:string? = (brandobject as! pfobject)["name"] as? string if brandname != nil { self.brands.append(brandname!) } let brandpic:pffile? = (brandobject as! pfobject)["image"] as? pffile
Comments
Post a Comment