Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UITextWritingDirection deprecation warning #1371

Open
iamgabrielma opened this issue Aug 11, 2023 · 0 comments
Open

UITextWritingDirection deprecation warning #1371

iamgabrielma opened this issue Aug 11, 2023 · 0 comments

Comments

@iamgabrielma
Copy link

iamgabrielma commented Aug 11, 2023

Since iOS13.0 the usage of the UITextWritingDirection typealias is deprecated in favour of the existing underlying NSWritingDirection data type: https://developer.apple.com/documentation/uikit/uitextwritingdirection

Since we use these as the return type when defining methods like baseWritingDirectionForPosition in the header file, it causes warnings in the editor where this dependency is used. For example in WCiOS:

Screenshot 2023-08-11 at 08 14 12
'UITextWritingDirection' is deprecated: first deprecated in iOS 13.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant