-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Simultaneous accesses to 0x107e947c8, but modification requires exclusive access : Swift 5 #1800
Comments
Hi! I just released a new eureka version. Let me know if it works... |
Sorry, i am still facing this issue. Example
Before it was working perfectly fine on swift 3.2 ~ 4.2 |
same problem here (Eureka 4.3.1) |
sorry, the community pod https://github.com/EurekaCommunity/ImageRow prevented an upgrade to the latest pod version. i hadn't checked that at the moment I can't test if the error is still persistent, because the current version of my app relies on ImageRow |
Hi, sorry for the inconveniences. We will be migrating the pods soon. I could reproduce the issue in the examples. However it seems to have been an error in the example code rather than Eureka itself. In my case the following change fixed the problem: // before
row.section?.insert(labelRow, at: row.indexPath!.row + index + 1)
// later
let indexPath = row.indexPath!.row + index + 1
row.section?.insert(labelRow, at: indexPath) This is to avoid a simultaneous access to @iStorry Your code looks to have the same issue |
@mats-claassen yes, i found the other way as well but i will check your code soon. Thank you very much 👍
|
@mats-claassen thank you very much, it worked perfectly fine 👍 |
The text was updated successfully, but these errors were encountered: