I tried to write the extension below, and it compiles just fine. But at runtime I get
'-[__NSCFBackgroundDownloadTask context]: unrecognized selector sent to instance 0x7fb6b44f96a0' I guess this means that __NSCFBackgroundDownloadTask doesn't inherit from NSURLSessionDownloadTask? extension NSURLSessionDownloadTask { var context: [String:String]? { set(inVal) { stuff } get { stuff } } } -- Rick Mann rm...@latencyzero.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com