Post

Replies

Boosts

Views

Activity

Comment on Triangle Intersection in 3D Space
In fact, your problem was more complex (and more interesting) than initially thought. Note that this solution can be extended to other shapes beyond triangle (or 2 different shapes with rectangle and triangle for instance), with some more complex maths however… Good luck and let us know when it's done.
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’21
Comment on Nib file not showing up in Xcode 13.0 interface builder
You declared the question solved. So it's over now. You should post a new question. And please provide detail information, as well as screen copies in addition to your own description of what you get on screen. As well as the xml of the Main storyboard file. There may be important information that you didn't report.
Replies
Boosts
Views
Activity
Nov ’21
Comment on Connect Label to View Controller
Did you solve it ?
Replies
Boosts
Views
Activity
Nov ’21
Comment on Triangle Intersection in 3D Space
In fact, your problem was more complex (and more interesting) than initially thought. Note that this solution can be extended to other shapes beyond triangle (or 2 different shapes with rectangle and triangle for instance), with some more complex maths however… Good luck and let us know when it's done.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on [SwiftUI] Gray view with simple navigation
There is a hint on a Swifty approach in the SO link. But needs some adaptation.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Print location shared when user tap 'locate me' button
Does it work now ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on UITableView reload not working
You can delay or you can add print statement at each step and check in which order they appear.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on I have been hacked :(
Sorry, I just don't know. Did you contact Apple Support ? Keep a full copy of the messages you get. That may help diagnostic.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Button on header of colelctionview not visible
If that may help, some objC code: https://stackoverflow.com/questions/22360632/ios-uicollectionview-implementation-of-viewforsupplementaryelementofkind-bombin
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Print location shared when user tap 'locate me' button
But you have defined denied case. SO you should add the alert code in :        case .denied:
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Annoying Quote Superimposes On My Screen - macOS Monterey Version 12.0.1
Thanks for feedback. Don't forget to close the thread.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on How to add different actions to rightCalloutAcessoryView button for each annotation?
Start a new post and detail your question. Please show enough code so we can understand exactly what you mean.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Interface builder not setting button title?
So I learned something, that the plain style has a different behaviour. Good continuation. What is surprising is that it works for me. You should keep a copy of the project that fails and file a bug report with a copy the project (zip the complete folder).
Replies
Boosts
Views
Activity
Oct ’21
Comment on Interface builder not setting button title?
Really surprising. I do the test with the same version. What do you get with print(sender.titleLabel) ? Could you give an email address so that we can share a file ?
Replies
Boosts
Views
Activity
Oct ’21
Comment on Interface builder not setting button title?
Yes, put them in IBAction. What error do you get ? Your button is likely in halite state when you test. Nevertheless, surprising to have its title nil in this state.
Replies
Boosts
Views
Activity
Oct ’21
Comment on SwiftUI view execution confusion, both buttons execute same code
Yes, that’s one of the many bizarre behaviors of SwiftUI (and why I do not like it so much) to confuse between View and Control (good old MVC). Here, I guess that applying a style sets de facto a frame to the button. I will test just adding a frame to buttons, to check hypothesis. Good continuation,
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21