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

disclosureBlock on thumbnail is difficult to use (not very MVC) #24

Open
connectdotz opened this issue Aug 18, 2015 · 0 comments
Open

Comments

@connectdotz
Copy link

we need to display a detail controller when user tap on the disclosure button. Since the disclosureBlock is defined in thumbnail (model), which doesn't have access to the views JPSThumbnailAnnotationView nor MKMapView and can't be override without changing the thumbnail, what is the best way to deal with this common use case?

can the JPSThumbnailAnnotationView invoke map.delegate's calloutDidTap callback if the block is nil? Otherwise expose the block on JPSThumbnailAnnotationView so we can override it ourselves? thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant