File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ - (BOOL)addAnnotation:(id)jsonAnnotation {
190190 }
191191
192192 PSPDFDocument *document = self.pdfController .document ;
193- if (![ document isValid ] ) {
193+ if (!document. isValid ) {
194194 NSLog (@" Document is invalid." );
195195 return NO ;
196196 }
@@ -211,7 +211,7 @@ - (BOOL)addAnnotation:(id)jsonAnnotation {
211211
212212- (BOOL )removeAnnotationWithUUID : (NSString *)annotationUUID {
213213 PSPDFDocument *document = self.pdfController .document ;
214- if (![ document isValid ] ) {
214+ if (!document. isValid ) {
215215 NSLog (@" Document is invalid." );
216216 return NO ;
217217 }
@@ -253,7 +253,7 @@ - (BOOL)addAnnotations:(id)jsonAnnotations {
253253
254254 PSPDFDataContainerProvider *dataContainerProvider = [[PSPDFDataContainerProvider alloc ] initWithData: data];
255255 PSPDFDocument *document = self.pdfController .document ;
256- if (![ document isValid ] ) {
256+ if (!document. isValid ) {
257257 NSLog (@" Document is invalid." );
258258 return NO ;
259259 }
@@ -277,7 +277,7 @@ - (BOOL)addAnnotations:(id)jsonAnnotations {
277277 }
278278
279279 PSPDFDocument *document = self.pdfController .document ;
280- if (![ document isValid ] ) {
280+ if (!document. isValid ) {
281281 NSLog (@" Document is invalid." );
282282 return nil ;
283283 }
You can’t perform that action at this time.
0 commit comments