Package apple.foundation.protocol
Interface NSProgressReporting
-
- All Known Subinterfaces:
UIDropSession
- All Known Implementing Classes:
AVAggregateAssetDownloadTask,AVAssetDownloadTask,NSBundleResourceRequest,NSOperationQueue,NSURLSessionDataTask,NSURLSessionDownloadTask,NSURLSessionStreamTask,NSURLSessionTask,NSURLSessionUploadTask,NSURLSessionWebSocketTask,UIDocument,UIManagedDocument
public interface NSProgressReportingIf your class supports reporting progress, then you can adopt the NSProgressReporting protocol. Objects that adopt this protocol should typically be "one-shot" -- that is, the progress is setup at initialization of the object and is updated when work is done. The value of the property should not be set to another progress object. Instead, the user of the NSProgressReporting class should create a new instance to represent a new set of work.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NSProgressprogress()
-
-
-
Method Detail
-
progress
NSProgress progress()
-
-