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

Mode Protocol #23

Open
nixta opened this issue Jul 9, 2017 · 0 comments
Open

Mode Protocol #23

nixta opened this issue Jul 9, 2017 · 0 comments

Comments

@nixta
Copy link
Member

nixta commented Jul 9, 2017

Want to decouple ArcGIS logic from the MapDisplayViewController, but there are some intertwinings between the AGS callbacks and controlling the mode on the app.

Is this a notification framework or a protocol? Do we want all MapViews to be able to follow a mode? A mode determines the operating mode of the map and it's UI.

And it's the UI that typically drives this mode changing, so there's a definite coupling, but let's remove the reliance on a specific class.

Propose a MapModeManager protocol:

mapMode property and a registerForModeChangeNotifications method.

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

2 participants