home
In TypeScript I can do things like this [docs]: request(method: 'post'|'put') But in Swift I am...
I am writing an iOS app and want to get all the possible places given a user's coordinate. Just...
I am trying to parse JSON in swift 4, below code shows how I am trying to do it, but I get an...
I have a two class. Whenever I get the value of the textfield it prints nothing and if I get rid of...
I have a view which contains several subviews. I am using auto layout to position the subviews. One...
I am trying to add admob to my app but I get an error. Thread 1: Fatal error: Unexpectedly found...
Due to swiftyJSON 3.0 becoming deprecated, I have updated my cocoapods to swiftyJSON 4.0. However I...
I have a standalone class to fetch an image from the camera/photo library using...
I am trying to get data from this URL https://api.opendota.com/api/heroStats I have made a...
I am trying to decode a struct which has an optional array struct AppInitData:Decodable{ var...
I have collection view where I am showing data fetched from the server. I am implementing...
I am trying to parse the following JSON using decodable protocol. I am able to parse string value...
This question already has an answer here: Swift 2.0 Method cannot be...
How can i change the gradient layer in CAGradient layer to be able to see where a certain value...
I am switching to mopub native ads since admob stopping with serving native ads. But I am now...
I am using google distance api ["https://maps.googleapis.com/maps/api/directions/json?origin="...
I want to add some info in Metadata for realm user such as Key "username" Value "any" How read...
var actInd: UIActivityIndicatorView = UIActivityIndicatorView() actInd.frame = CGRect(x: 0.0, y:...
I upload video to youtube from my app. But it's public. I want to upload it unlisted. How can I do...
I'm using document picker view controller through which i select any kind of document from my cloud...
After calling tableView.reload from a "delete editingStyle forRowAt", is there a way to reduce the...
I am trying to share a PDF file using UIActivityViewController but when I press the button I do not...
I have been trying for a while to display a simple SKLabelNode, with no luck. I have tried many...
my php developer give me this url :...
Given a simple class like: class Foo { static var can: String? { didSet { 5+4 } } static...
urlString = IPAddr + UrlWhisky + UrlKorn + UrlCola + UrlFanta print(urlString) I want to...
I have tableView on my viewController, and one textField. TableView present list of names. When I...
Wrote this simple getJson wrapper: func getJson<T>(path: String) -> T? { let url =...
I want to minimize/hide nswindow when nscolorwell open and again show when color choosing done. i...
I am trying to update my app to use Swift 4 Decodable - and am pulling down data from a JSON api...