Post

Replies

Boosts

Views

Activity

Reply to Need help w/escaping closures for API call
Thanks, your comments helped out a lot. I think the main issue I was concerned with was whether or not I was using the right info in the completion handlers. It currently runs and doesn't throw any errors. Next time I post a question I'll be sure to include more info, and thanks for the tip on line 47. I'll try that and see if anything changes.
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to Need help w/escaping closures for API call
Thanks, your comments helped out a lot. I think the main issue I was concerned with was whether or not I was using the right info in the completion handlers. It currently runs and doesn't throw any errors. Next time I post a question I'll be sure to include more info, and thanks for the tip on line 47. I'll try that and see if anything changes.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Need help converting JSON objects from double & floats to strings
Thanks that fixed the issue. I am experiencing another one though, related to the same function. If I set the labels as you did with the String(format: "%.2f", lat) then the app will crash due to Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value but if I remove the formatting part, it doesn't crash.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Need help converting JSON objects from double & floats to strings
Thanks!!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to How can I decode/parse HTML data?
Thanks I'll check it out!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to How can I identify and group data in a JSON file?
Thanks, I had no idea this method existed, I'll play around with it.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21