Post

Replies

Boosts

Views

Activity

Comment on How to refine the shape of an SKSpriteNode for tap gestures?
UITapGestureRecognizer is not affected by it: I did not try, but I understood from the doc that having set alpha to 0 would do it. Isn't it the case ? Is this the way Swift handles this? : I fear this is the way UIKit (not Swift, would be the same in ObjC) handles it. If you have a more complex form, you should probably anyway define a simple enclosing shape. For instance, enclose in an ellipse.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’21
Comment on emulate mouse click
Right, don't need it, unless you want to execute the tap once window activated. But then, need a CGEvent (I think you saw this already: https://stackoverflow.com/questions/41908620/how-to-simulate-mouse-click-from-mac-app-to-other-application)
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’21
Comment on Segue from search results view controller to another view controller
You're right, my mistake, it is DecksTableViewController ; I pasted the wrong class. I corrected the post to get it correct. Good continuation.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on SwiftUI Fullscreen Mac os
This seems a partial answer to the question: https://stackoverflow.com/questions/23896803/os-x-detecting-when-front-app-goes-into-fullscreen-mode
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Strange line in UITextview
I tried but could not reproduce. Could you show the complete code so that we can try to reproduce ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on How to refine the shape of an SKSpriteNode for tap gestures?
UITapGestureRecognizer is not affected by it: I did not try, but I understood from the doc that having set alpha to 0 would do it. Isn't it the case ? Is this the way Swift handles this? : I fear this is the way UIKit (not Swift, would be the same in ObjC) handles it. If you have a more complex form, you should probably anyway define a simple enclosing shape. For instance, enclose in an ellipse.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Not getting callback after tapping "Insert text" button in text on camera for UITextField
I tested this code (not with a camera view, but a plain UIViewController). shouldChangeCharactersIn is properly. Could you show how you use the class on your camera view ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Show JSON output to screen?
Is that fully solved now ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on View controller inside collection view cell
Instead of have Collection in a cell, why not create a collectionView with multiple sections (one for each former cell).
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Strange line in UITextview
I tried your code, but scale does nothing. And the background is blue, not red.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Playlist's curatorName property always returns nil.
Ok, my mistake, I should have looked at the tags, not the content of post.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on TabView disappearing on Xcode 13
Yes, but I suspect the behaviour is the same. So it is likely not a bug, but a feature of iOS 15.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Strange line in UITextview
Thanks for feedback. Don't forget to close the thread now.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Ringtones
Did you file a bug report ?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on MacOS 11.5 GM2 (20G71) can't update to RTM
Where did you see the MacOS 11.5 RTM to download ?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Swift Playground Not Working
Does it work in manually run mode ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on emulate mouse click
Right, don't need it, unless you want to execute the tap once window activated. But then, need a CGEvent (I think you saw this already: https://stackoverflow.com/questions/41908620/how-to-simulate-mouse-click-from-mac-app-to-other-application)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21