[Solved] Global Variable Not Update ( Swift ) [closed]

[ad_1]

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

[ad_2]

solved Global Variable Not Update ( Swift ) [closed]