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

Really slow in Xcode 9 / iOS 11 #118

Open
dpacchi86 opened this issue May 21, 2018 · 11 comments
Open

Really slow in Xcode 9 / iOS 11 #118

dpacchi86 opened this issue May 21, 2018 · 11 comments

Comments

@dpacchi86
Copy link

This library worked like a charm under xcode 8 and iOS 10, now that I opened the project with Xcode 9 and iOS 11 iCloud sync is really slow and blocks the main thread a lot.
I already have tried many approaches like dispatching on a different thread (Not possible by the iCloud API) and trying to make as few syncs as possible... What could it be?
Thanks!

@Keith-Hon
Copy link

I have the same issues, did you manage to resolve that?

@dpacchi86
Copy link
Author

dpacchi86 commented May 23, 2018 via email

@Keith-Hon
Copy link

it's real slow if user has a large amount of files to sync

@dpacchi86
Copy link
Author

dpacchi86 commented May 23, 2018 via email

@kundanjadhav
Copy link

How did you rolled back to previous version? @dpacchi86

@kundanjadhav
Copy link

I have made some code changes in iCloud.m. If anybody need it please let me know.

@ongkuanpin
Copy link

I have made some code changes in iCloud.m. If anybody need it please let me know.

can send me the iCloud.m file? my email address is [email protected]

Thanks.

@robertmanea
Copy link

I have made some code changes in iCloud.m. If anybody need it please let me know.

@kundanjadhav @ongkuanpin Do you still have the file? Could really use it, my address is [email protected]

@kundanjadhav
Copy link

@robertmanea and @ongkuanpin sorry for late responding guys. PFA
icloud.m.zip

@robertmanea
Copy link

@robertmanea and @ongkuanpin sorry for late responding guys. PFA
icloud.m.zip

Thanks a ton. Do you have any idea how to tell when all files are finished in the enumerate block? Asking because it's kinda dragging on, so I was thinking of adding a loading indicator up til it's done. I know we have the [iCloudFilesDidChange: withNewFileNames:] delegate method, but it's not consistent (just tested and only got half of my files if I retrieve immediately after this is called).

@Sam-Spencer
Copy link
Member

See recent changes from PR #95, which should fix some of these issues.

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

6 participants