MacOS X Document shortcuts

Catch multiple errorTypes?

Question or problem in the Swift programming language: I’m looking for a way to catch multiple types of errors in a catch. I’ve tried fallthrough and the comma separated style from a switch statement and neither works. The docs say nothing about catching multiple but pattern 1. It’s not clear to me which of the […]

Continue Reading

Sending emails – MFMailComposeResult

Question or problem in the Swift programming language: I’m trying to migrate one of my applications from Obj-C to Swift and I’ve a problem with the emails management. I searched by hours but I did not found how solve this problem. Basically, I’m trying to migrate the func mailComposeController(controller: MFMailComposeViewController!, didFinishWithResult result: MFMailComposeResult, error: NSError!) […]

Continue Reading