Xcode MacOsx memiliki ukuran tampilan saat ukuran jendela berubah

func createSceneContent() {
    scene.scaleMode = .aspectFit
    scene.backgroundColor = .black
    // Add additional scene contents here.  
    ...
}
Glorious Grivet