CoreData: NSMigrationManager: NSProgress for migration progress and cancellation

Originator:quellish
Number:rdar://17383094 Date Originated:Tue, 29 Jul 2014 23:23:41 GMT
Status:Open Resolved:
Product:iOS SDK Product Version:-
Classification:Enhancement Reproducible:Always
 
Summary:
The new version of Core Data (iOS 8, MacOS 10.10) now uses NSProgress as a future in several places. For consistency and usability, it would be beneficial to update the progress reporting and cancellation mechanisms of NSMigrationManager to also use NSProgress. 

Currently NSMigrationManager reports progress through the method/property
- (float)migrationProgress

And allows cancellation through the method
- (void)cancelMigrationWithError:(NSError *)error;

Adding a new interface for doing the same using NSProgress would be pretty awesome.

Steps to Reproduce:
N/A

Expected Results:
N/A

Actual Results:
N/A

Version:
iOS 8.0 12A4297e

Notes:


Configuration:
iPod 5, 16GB

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!