Hi @gargoyle
In this chapter, we are overriding the cancel
function. But I am confused that why are we not setting the state
to finished
. Can you please explain the reason for it.
Thanks
Pulkit
Hi @gargoyle
In this chapter, we are overriding the cancel
function. But I am confused that why are we not setting the state
to finished
. Can you please explain the reason for it.
Thanks
Pulkit
You call the super’s implementation of cancel, and so you’re letting Apple handle the state management. We’re doing the override so that we can tell our task to cancel.
@gargoyle
But we managing state
by ourself, which is not going to update in super’s implementation.
Can u plz help in this
@pulkitap Do you still have issues with this?