Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Cleaned up MGLMapViewDelegate #1620

Closed
wants to merge 2 commits into from
Closed

Cleaned up MGLMapViewDelegate #1620

wants to merge 2 commits into from

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented May 21, 2015

It’s now in a separate header, MGLMapViewDelegate.h, and there are no longer any “TODO” comments where documentation comments belong.

Fixes #1385.

@1ec5 1ec5 added iOS Mapbox Maps SDK for iOS refactor labels May 21, 2015
@1ec5 1ec5 added this to the iOS Beta 2 milestone May 21, 2015
@incanus
Copy link
Contributor

incanus commented May 21, 2015

For the formerly-undocumented delegate methods, they don't all work. Past convention has been to only document methods that work properly so that developers feel free to use them. We should ticket out the methods and categories of functionality that don't work as well as mark the methods as buggy/unreliable in the header if we're going to do this.

Related: #1431

@1ec5
Copy link
Contributor Author

1ec5 commented May 22, 2015

Ah, I read "TODO" as "to document" rather than "to implement". We shouldn't even declare methods we don't support yet. There are plenty of other APIs we'd love to have but it doesn't make sense to put them in developers' autocomplete prematurely.

@1ec5 1ec5 closed this May 22, 2015
@1ec5 1ec5 removed the in progress label May 22, 2015
@1ec5 1ec5 deleted the 1ec5-delegate-1385 branch May 22, 2015 17:36
@1ec5
Copy link
Contributor Author

1ec5 commented Jul 31, 2015

Take two in #1976.

@friedbunny
Copy link
Contributor

I still like moving these to include/mbgl/ios/MGLMapViewDelegate.h, we should do that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor MGLMapViewDelegate into its own header
3 participants