ios - Swift/Xcode - Search API and compare current value(s) with rest of API - SwiftyJSON & AlamoFire -
firstly, point out, have search function implemented use of search-bar , alamofire. , can download , present data in collectionview . wondering how implement following: this api looks like: students: [ { "firstname": "fred", "lastname": "bloggs", "testscore": "89", }, { "firstname": "frank", "lastname": "thomas", "testscore": "91", }, { "firstname": "joe", "lastname": "morrison", "testscore": "45", }, ] brief example of api. so currently, able download information uicollectionview . struggling pass data have downloaded api detailviewcontroller . trying pass lastname , testscore @ current index path. i wish following: when loading detailviewcontroller wish testscore of selected indexpath , return other students have similar score 3, 5 , 10. involv...