The data is being fetched asynchronously and the print statement is getting executed before the response is received. print the data after you assign value to self.jumlahStok
solved Global Variable Not Update ( Swift ) [closed]
The data is being fetched asynchronously and the print statement is getting executed before the response is received. print the data after you assign value to self.jumlahStok
solved Global Variable Not Update ( Swift ) [closed]