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
[email protected]



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to