Unable to get Array Value in SWIFT
问题 I retrieved values from parse and stored one by one in an array called "sto_tit". But if I try to print the values, I unable to print. It is get printed inside loop only, but not get printed Outside FOR LOOP or OUTSIDE ELSE block, I don't know what error in my code. Kindly guide me! MY CODE BELOW: func parse_db() { var sto_tit = [String]() // EITHER GLOBAL DECLARATION or INSIDE BLOCK, SAME ISSUE // FACING par_query.selectKeys(["story_title"]) par_query.findObjectsInBackgroundWithBlock({