Post

Replies

Boosts

Views

Activity

Comment on Rewrite UIKit to SwiftUI
Good. A kind remark: If you find the answer by yourself, please post a short summary of what you did. That's smart for those who spent time to try to help you. You will find other useful advices on good practice: https://developer.apple.com/forums/thread/706527. have a good day.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’22
Comment on Having problems trying out the example code in this session
Maybe we'll have to wait for a next beta.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Date style as timer, but use days
You will have to fine tune, to take into account when timer crosses the day limit… Could get ideas here: https://stackoverflow.com/questions/63149626/swiftui-timer-doesnt-stop-at-0
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Date style as timer, but use days
You will have to fine tune, to take into account when timer crosses the day limit… Could get ideas here: https://stackoverflow.com/questions/63149626/swiftui-timer-doesnt-stop-at-0
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Bad access with a fixed size array and index in range
Thanks for the feedback. You need to understand what is happening in the different threads, because a bug may hide another one… Good luck.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Real life traffic light in Xcode (SwiftUI)
No problem for the tag. That will be for next time… I found this (it is Swift, not SwiftUI): https://github.com/derekblair/Traffic-Lights
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Real life traffic light in Xcode (SwiftUI)
OK, I saw the video. Could you post the complete code, so that we can understand what's not working ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Scrumdinger, Create the Card View
You're right, that is what the tutorial proposed. I tested in Xcode 13 and 14ß, same error by compiler. You have to go to the end of the project, you have some elements missing at this stage (but tutorial is flawed)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Please can someone tell me what to do about this?
Update of what ? Xcode ? Library ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Explanation about correct use of the functions
Thanks for your feedback and wish you good continuation. Don't forget to close the thread.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Parsing JSON
I forgot an important point. Declare both struct as Codable.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on key value coding sample
Or this, which goes much more in details: https://sarunw.com/posts/what-is-keypath-in-swift/
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Xcode: cannot find 🙉 in scope
Thanks for the feedback. Wish you good continuation. Note that the problem was not specific to emoji. If you write var a = hi, you will have the same issue.
Replies
Boosts
Views
Activity
Jun ’22
Comment on Rewrite UIKit to SwiftUI
Good. A kind remark: If you find the answer by yourself, please post a short summary of what you did. That's smart for those who spent time to try to help you. You will find other useful advices on good practice: https://developer.apple.com/forums/thread/706527. have a good day.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on ipad constraint and orientations
Yes, I faced a similar problem and could not find a better solution. Except creating 2 independent storyboards, but that causes a lot of complication.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on ipad constraint and orientations
Thanks for feedback, that's another option. Does it work well ? If so, don't forget to close the thread.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22