3Squared / SQKDataKit

Lightweight Core Data helper to reduce boilerplate code.
MIT License
19 stars 6 forks source link

Incorrect property checked in example DataSynchroniser #39

Closed zilmarinen closed 10 years ago

zilmarinen commented 10 years ago

https://github.com/3squared/SQKDataKit/blob/master/Examples/SQKCoreDataOperation%20Example/SQKCoreDataOperation%20Example/Data%20Sycnrhronisation/CDODataSynchroniser.m#L69

if (dependentOperation.error) NSLog(@"Dependency \'%@\' errored; %@", dependentOperationName, dependentOperation.error); if (dependentOperation.error) NSLog(@"Dependency \'%@\' cancelled", dependentOperationName);

The second if statement should check the [dependentOperation isCancelled] property.

lukestringer90 commented 10 years ago

Well spotted. Will be fixed before next release.