Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1060 from Esri/Ting/Fix-geodatabase-vNext
Browse files Browse the repository at this point in the history
Fix: AGSGenerateGeodatabaseJob argument type
  • Loading branch information
yo1995 authored Apr 19, 2021
2 parents 2cdbdc4 + 76b81dc commit 4cd508a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ class GenerateGeodatabaseViewController: UIViewController {
statusHandler: { (status: AGSJobStatus) in
UIApplication.shared.showProgressHUD(message: status.statusString())
},
completion: { [weak self] (object: AnyObject?, error: Error?) in
completion: { [weak self] (geodatabase: AGSGeodatabase?, error: Error?) in
UIApplication.shared.hideProgressHUD()

if let error = error {
self?.presentAlert(error: error)
} else {
self?.generatedGeodatabase = object as? AGSGeodatabase
self?.generatedGeodatabase = geodatabase
self?.displayLayersFromGeodatabase()
}

Expand Down

0 comments on commit 4cd508a

Please sign in to comment.