Closed kirylkaveryn closed 2 weeks ago
Thanks, the functionality did not change, right? All cases (including errors) are properly handled now in the Bookmarks and Tracks dialog, right?
Yes! Tested on iPhone 11Pro (17.2) and iPhone 6 (12.5).
Updated with documentation!
For now to handle the
file sharing
OM uses the observing pattern tightened to the MWMBookmarksManagers, that is too complex for this straightforward task:This is too complex because the c++ method that we interact with uses the completion handlers to return sharing results and there is no sense in wrapping the completion handle into observation:
This PR converts c++ completion handler into the objc and returns to the caller so we can share files easily with the MWMBookmarksManagers and handle result without additional overhead:
https://github.com/organicmaps/organicmaps/assets/79797627/7ceabaa2-0880-41e4-bfed-28c565911950