Skip to content

Commit

Permalink
strongSelf -> self for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdostal committed Oct 3, 2019
1 parent 1ce51c3 commit 4bab2a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Toolkit/ArcGISToolkit/AR/ArcGISARView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -287,13 +287,13 @@ public class ArcGISARView: UIView {
/// Operations that happen after device tracking has started.
fileprivate func finalizeStart() {
DispatchQueue.main.async { [weak self] in
guard let strongSelf = self else { return }
guard let self = self else { return }
// Run the ARSession.
if strongSelf.isUsingARKit {
strongSelf.arSCNView.session.run(strongSelf.arConfiguration, options: .resetTracking)
if self.isUsingARKit {
self.arSCNView.session.run(self.arConfiguration, options: .resetTracking)
}

strongSelf.isTracking = true
self.isTracking = true
}
}

Expand Down

0 comments on commit 4bab2a9

Please sign in to comment.