Upvote:1


class MyMapView: MGLMapView {
   deinit {
    // BreakPoint Here
   }
}

More Answer related to the Same Query

Upvote:0

weak var mapBoxView: MGLMapView!

Upvote:0

private func privateMethod() {
    self.someUIElement.someProperty = someValue // need to put this line inside the closure and get rid of this method
}

Credit Goes to: stackoverflow.com

Related question with same questions but different answers