jessedc / JCTiledScrollView

A set of classes that wrap UIScrollView and CATiledLayer. It aims to simplify displaying large images and PDFs at multiple zoom scales.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More complete Annotation Delegate Protocol

jessedc opened this issue · comments

JCTiledScrollViewDelegate needs to provide a more complete set of delegate callbacks.

  • annotationWillDisappear / didDisappear (etc etc)

I did a more complete set of delegates callbacks :

  • (void)tiledScrollView:(JCTiledScrollView *)scrollView annotationWillDisappear:(id)annotation;
  • (void)tiledScrollView:(JCTiledScrollView *)scrollView annotationDidDisappear:(id)annotation;
  • (void)tiledScrollView:(JCTiledScrollView *)scrollView annotationWillAppear:(id)annotation;
  • (void)tiledScrollView:(JCTiledScrollView *)scrollView annotationDidAppear:(id)annotation;
  • (void)tiledScrollView:(JCTiledScrollView *)scrollView didSelectAnnotationView:(JCAnnotationView *)view;
  • (void)tiledScrollView:(JCTiledScrollView *)scrollView didDeselectAnnotationView:(JCAnnotationView *)view;

How i can attach my code to a git answer?

Check out Creating a Pull Request. You'll also need to fork the project.

I'm beginner with Git concept but i managed to make a pull request.