Replies: 6 comments 6 replies
-
having the same issue, hoping that this gets resolved. |
Beta Was this translation helpful? Give feedback.
-
not sure what do you mean. This is how it is already @objc(selectedRange)
@_implements(NSTextInputClient, selectedRange())
public func textInputClient_selectedRange() -> NSRange {
selectedRange
} |
Beta Was this translation helpful? Give feedback.
-
I think it's the compiler issue more than anything at this point. It does compile for a second build try. |
Beta Was this translation helpful? Give feedback.
-
@krzyzanowskim Hello! I have the same issue but only if I'm trying to archive or build with the release configuration. I tried the latest version |
Beta Was this translation helpful? Give feedback.
-
I reverted most of the changes that cause the compiler to misbehave, that result in change to the API. Fix is pushed in https://github.com/krzyzanowskim/STTextView/releases/tag/0.6.4 |
Beta Was this translation helpful? Give feedback.
-
Error:
In STTextView+TextInputClient.swift
Type 'STTextView' does not conform to protocol 'NSTextInputClient'
Protocol requires function 'selectedRange()' with type '() -> NSRange' (aka '() -> _NSRange')
I see that this should fix that:
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions