Post

Replies

Boosts

Views

Activity

Comment on How does let statement work?
yes, the extended form is to have a return keyword. But if there is a single statement with the value to return, you can omit return. You could also use the get format. They are all equivalent.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Keep recieaving a "Class is not key value coding-compliant"
Thanks. Droopy said that he tried to disconnect and reconnect, which he probably could not do completely.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Keep recieaving a "Class is not key value coding-compliant"
In this case, it should be impossible to connect the IBOutlet, shouldn’t it ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Keep recieaving a "Class is not key value coding-compliant"
-- removed --
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Problems with trying to back after dismiss presented VC
You marked your own answer as Correct. So that means it works now ? Great. But you did not explain what the problem was…
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Is reddit is better then Apple developer forms?
Thanks for the feedback. Let's try all of us to contribute usefully to the forum.
Replies
Boosts
Views
Activity
Aug ’22
Comment on Search
What is your question ?
Replies
Boosts
Views
Activity
Aug ’22
Comment on Expected expression
To clarify: the last index in an array is array.count-1. That's because array starts at index 0. You're not the first one to get trapped.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on What is the purpose of a line of code that says: '_ = viewController.view'?
I thought all views were automatically loaded, without need for explicit load for a view. Was I wrong ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on trying to set up a table view
It is not that it is not optional, it is that it's nil.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Cannot convert value of type 'Double.Type' to expected argument type 'Double' - JSON Decoder
Thanks for your feedback. I remember when I started in Swift some years ago that I appreciated to get a solution but more important to get the detailed explanation. That’s what we often find on the forum. Have good day.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on Binary operator '+' cannot be applied to operands of type '()' and 'String' error
For sure. But we all learn from mistakes. Good continuation and don't forget to close the thread by marking the correct answer.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on How to publish new dating app?
Yes, most likely. Don't forget to close the thread.
Replies
Boosts
Views
Activity
Jul ’22
Comment on How can I read "declaration" in Apple Developer Documentation?
That's correct. You can define getter and setter for computed var. See here: https://docs.swift.org/swift-book/LanguageGuide/Properties.html
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on Expected expression
Get lot of details here: https://swiftpackageregistry.com/dmytro-anokhin/url-image
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’22