Outdooractive / route-me

Open source map library for iOS
Other
122 stars 400 forks source link

`RMMapScrollViewDelegate` should be private #89

Closed incanus closed 12 years ago

incanus commented 12 years ago

The RMMapScrollViewDelegate protocol shouldn't be seen by devs just using RMMapView.h and is confusing when what is meant is RMMapViewDelegate. We should hide it somehow to avoid confusion.

trasch commented 12 years ago

I don't think that there is an elegant way to hide it since the compiler needs to see it.

Why exactly do you think this is a problem? A dev should be able to differentiate between an implemented protocol and a delegate protocol, but we could rename it to something like RMInternalConstraintsDelegate if you want (that at least would be easy... :)

incanus commented 12 years ago

Yeah, I guess it's not too confusing. Just a cleanup issue. It's not a big deal.