Swift enum range matching

I have been recently working on a HealthKit related app, where I wanted to categorise the blood pressure data. If you are not familiar with this data, here is a little explanation: Measuring Blood pressure Blood pressure build up from 2 numbers: the systolic value and the diastolic value. The valid value ranges for systolic ...

Failed to code sign ContentView.swift – SwiftUI

11. June 2019 Swift, Xcode 3
Unfortunately if you want to leverage/play/enjoy the new SwiftUI hot reload capabilities, then you need to update your beloved macOS Mojave to Catalina alongside with the Xcode 11 beta. Ok, so let’s image you can’t wait to download the macOS Catalina Beta (6GB) on your existing system with macOS Mojave and Xcode 10. Getting some ...

Learn Swift on your iPhone: Unwrap

21. August 2018 Beginner, Swift 0
Ok, I have already mentioned how to get access to a machine from your web browser, which runs Swift. There is also a good resource from Paul Hudson, who is the author of a dozen of Swift books. Paul decided to write an iOS app, called Unwrap where you can learn the basics of Swift. ...

Xcode 9 and ERROR ITMS-4088

28. September 2017 Settings, Tools, Xcode 3
I think most of us were absolutely happy when we downloaded the Xcode 9, and started to enjoy the new features. I was happy as well, but my happiness didn’t take long. My face started to turn into a frowning face, immediately after when I wanted to upload my current project to the App Store. ...

Stay tuned, Stanford iOS10 course by Paul Hegarty is coming! [U]

12. February 2017 Beginner, Swift, Xcode 0
Update: It has been officially released: https://itunes.apple.com/us/course/developing-ios-10-apps-swift/id1198467120 One of the redditors spotted this YouTube playlist, with the first few lectures of the “Developing Applications for iOS (10), Winter 2017”. According to the videos Paul Hegarty is using Xcode 8, and Swift 3, which is a great news, due to the source code compatibility introduced in ...