|
@@ -27,13 +27,6 @@ static NSString *CPDFListViewAnnotationPropertiesObservationContext = @"CPDFList
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(PDFPageDidLoadAnnotationNotification:) name:@"CPDFPageDidLoadAnnotationNotification" object:nil];
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(PDFPageDidAddAnnotationNotification:) name:@"CPDFPageDidAddAnnotationNotification" object:nil];
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(PDFPageDidRemoveAnnotationNotification:) name:@"CPDFPageDidRemoveAnnotationNotification" object:nil];
|
|
|
-
|
|
|
- for(NSInteger i = 0;i<self.document.pageCount;i++) {
|
|
|
- CPDFPage *page = [self.document pageAtIndex:i];
|
|
|
- for (CPDFAnnotation *annotation in page.annotations) {
|
|
|
- [[NSNotificationCenter defaultCenter] postNotificationName:CPDFPageDidLoadAnnotationNotification object:annotation];
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
- (void)startObservingNotes:(NSArray *)newNotes {
|