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 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 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 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 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 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 Swift Guided Tour playground solutions
I do not understand what the question is.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Xcode & Simulator slow on launch
Or just avoid SwiftUI for the time being (even without memory problem, I would do so !). Don't forget to close the thread now, and good luck.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Slide over UIViews To Select
Did this solve the problem ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Adding functionality to JSONDecoder (json decoding)
Good to read you have a solution. Could you post the complete code for the extension, in case other has similar issue and then close the thread ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Why I am not able to click button and back to ViewController?
Please show complete code for FirstView and SsecondView. What is the navigation controller ? The firstView ? What do you show when you get to secondView ? There is no interface defined and you say you have not defined in storyboard.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on Method in Date extension not found in one class while works in another
May be opening the project in 12.5 did correct some issue. And then reopening in 13.0 worked ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on Learn to Code 2
Too bad, you don't want to make the extra effort. Why should I ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on How can I decode/parse HTML data?
Tell if that works. If not, explain what's not working.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on Attachment in UITextView
Did you try embedding in stack view ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on Xcode 13 beta 1 crashed
You somehow closed the thread by marking correct answer… Which was visibly not a solution to the problem.
Replies
Boosts
Views
Activity
Jun ’21