skmaps - Request downloads late delegation -


alright,

so have table view, cells start offline maps download once tapped so:

let map: sktdownloadobjecthelper =  sktdownloadobjecthelper.downloadobjecthelperwithsktpackage(package) as! sktdownloadobjecthelper sktdownloadmanager.sharedinstance().requestdownloads([map], startautomatically: true, withdelegate: self, withdatasource: self) 

i define current table view controller delegate download request. have sktdownloadmanagerdelegatemethods implemented so, updating on progress works fine. however, if go 1 step in table view hierarchy, table view controller gets thrown off stack , delegate.

so question simple: how can i, once reenter view download progress shown, "re wire" download controller?

it's friday... please forgive me. it's in sktdownloadmanager. looked in every other class definition, one.

sktdownloadmanager.sharedinstance().downloaddelegate = self 

Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -