performSegue(withIdentifier) documentation says “This method throws an Exception handling …” (sic) yet the function is not marked as “throws”.   I know for a fact that it causes an exception in some cases.   I try to put it in a do/try/catch block and Xcode…

I’m struggling to get an app working on Catalina 10.15.2 using Xcode 11.3.1, Swift 5. I could manage to boil down an example of the crash for Xcode Playgrounds:   import Cocoa import simd var viewMatrix = double4x4(1) var modelMatrix = double4x4(1) let modelViewMatrix =…

Me and my acquaintances are currently in the process of making a map app using Xcode and swift. However, we are struggling on how to read a text file line by line to get coordinates. We also are struggling on how to zoom into graphic…