Post

Replies

Boosts

Views

Activity

Reply to iOS17 UITextView inputView becomFirstResponder does not work
I had the log message in the iPhone simulator running iOS 17 until I upgraded to Ventura 13.5 (22G74) just now, still using XCode Version 14.3.1 (14E300c). My custom keyboard (in-app; not system wide keyboard) was is behaving erratically (disappearing, after a few taps in the app, and the message~~ -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID would appears in the logs). Now, after the upgrade (Ventura 13.5 (22G74) just now, still using XCode Version 14.3.1), I've been trying to replicate the problem, but so far it does not occur anymore... I take it back: it's indeterministic: a few recompiles later the issue is still here.
Jul ’23
Reply to Xcode 13.2 update is stuck
I downloaded manually, as suggested. The manual install took a while too but went well. It did not help with the other ongoing install. Even after a reboot. I searched a bit and found suggestion deleting some ~/Library/Caches files may help. I deleted files in relation to store (app store). Rebooted. Launch Pad was showing an empty progress bar for a short while and then disappear. Now XCode shows as "GET" on the app store. But now, at least, installd is not eating up 120% CPU... thanks.
Dec ’21
Reply to What is _VectorMath protocol? Conforming to VectorArithmetic and AdditiveArithmetic
Proposed solution I managed to get around the issue by using Element.scale(by:) in the extension's definition of Array.scale(by:) and not using the * operator. Using * operator required Element and Double to conform to _VectorMath (which is what we wanted to avoid). Follow-up on questions and remarks Just my curiosity, how are you trying to make Array conform to VectorArithmetic? I see them as coefficients of polynomials (as in the algebraic definition). If I am not mistaken, it can be a vector space. For example, what is your definition of +? Two Arrays may have different sizes. Add coefficients pairwise; and if one array is shorter than the other one, use AdditiveArithmetic.zero for the "missing" element. > What is _VectorMath protocol? Not documented publicly. I did not see this sooner, but if I option-click on the _VectorMath, there's the quick help: SummaryAdds the “vector space” numeric operations for any type that conforms to Animatable. #### Declaration protocol _VectorMath : Animatable I am not sure what to make of this. But as you suggested I'd try not to use this "private" (?) API.
Dec ’20