Code create label and button that hide the label. But when run code and press button to hide label, it take long time to hide. Please help me, how to fix this problem?   import UIKit   class ViewController: UIViewController {     @IBOutlet var label:…

Hi, I’m tryna to get a specific value from this API, but I can’t. The values that I have been tryna like title, id and overview is nil. Please, help me.   my sample code:     let task = URLSession.shared.dataTask(with: url!) { (data, response,…

Also on https://stackoverflow.com/questions/57630483/annotations-are-hidden-when-zooming-out   When zooming out and property showsUserLocation is set to true and the annotation are centered around the users location, clusters will disappear when zooming out. I don’t want this, they should always be visible. The displayPriority’s default value is set to…

Accoding to Apple’s doc: “The default memberwise initializer for a structure type is considered private if any of the structure’s stored properties are private. Likewise, if any of the structure’s stored properties are file private, the initializer is file private. Otherwise, the initializer has an…

Hi,    I used URLSession to call Api.   Code sample :          let defaultSessionConfiguration = URLSessionConfiguration.default         defaultSessionConfiguration.timeoutIntervalForRequest = 600         defaultSessionConfiguration.timeoutIntervalForResource = 600         defaultSessionConfiguration.urlCache = URLCache(memoryCapacity: 0, diskCapacity: 0, diskPath: nil)         defaultSessionConfiguration.requestCachePolicy = .reloadIgnoringLocalAndRemoteCacheData           let defaultSession = URLSession(configuration: defaultSessionConfiguration)…