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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -