Post

Replies

Boosts

Views

Activity

Reply to XCode 13.3 stuck when input Chinese in lldb console
@unixzii found that the bug is because when inputing Chinese, SourceEditorContentView are triggering setNeedsLayout during its view layout life cycle. And he came up with a patch for it. Hook the layoutSublayers implementation and add a timer to it. If it was called more than 100 times in 0.1 second, ignore the rest of call temporary. See patch and workaround here. https://github.com/unixzii/XcodePatch
Apr ’22