Post

Replies

Boosts

Views

Activity

Comment on iOS13 UIPasteboard.general.changeCount increase 2 after UITextfield become first responder
@Claude31 This issue is still easy to reproduce, you can put a few text fields on a VC, and add the next part of the code: extension ViewController: UITextFieldDelegate { func textFieldDidBeginEditing(_ textField: UITextField) { print("🔥", UIPasteboard.general.changeCount) } } And try to switch between text fields, you will see in the console something like this: 🔥 3699 🔥 3701 🔥 3701 🔥 3701 🔥 3701 🔥 3703 🔥 3703 🔥 3705 🔥 3705 Why it's happening and how we can avoid this?
Jan ’24
Comment on swift ui magic
yup, in general, I want to get a variable of shape that will be passed in the clipShape function, but I don't know which form I will have, that's why I'm trying to create an existential variable which can store any shape
Aug ’23