I hope it's not a silly question, but why this iOS Swift code compiles successfully?
import UIKit
import ARKit
class ViewController: UIViewController {
private let sequenceHandler = VNSequenceRequestHandler()
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
}
I expect that VNSequenceRequestHandler
would not be found since Vision
is not imported.
Does ARKit
automatically imports Vision
framework? Because if I right click on import ARKit
and click "Jump to definition", in Xcode I see this
I don't know where SwiftUI
come from (this project use UIKit
) and where Vision
come from.
Thank you very much!