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

modifyRecordsCompletionBlock deprecated on iOS 15 #187

Open
thachgiasoft opened this issue Feb 9, 2023 · 1 comment
Open

modifyRecordsCompletionBlock deprecated on iOS 15 #187

thachgiasoft opened this issue Feb 9, 2023 · 1 comment

Comments

@thachgiasoft
Copy link

I want to target iOS 16 and I get deprecation warnings. "modifyRecordsCompletionBlock' was deprecated in iOS 15.0: Use modifyRecordsResultBlock instead"
However with modifyRecordsCompletionBlock I'd get an array of the successfully modified records as input for the block which I'd in turn use for updating my local DB, whereas the input for modifyRecordsResultBlock is Result<Void, Error>.

@aehlke
Copy link

aehlke commented May 17, 2023

I'm stumped by this, any leads on how to patch?

edit: here's a solution: https://developer.apple.com/forums/thread/697571 I'll reference this if the deprecation becomes a problem later. There are also remaining shortcomings. So I'll wait for improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants