Out of sheer curiosity, I often find myself checking my daily step count on Apple’s Health app. In an attempt to get a basic intro to Swift, I sought out to replicate this functionality by creating my own custom application. In this post, I’m […]
XCTest is designed to help write tests in Swift and is used for Swift packages and applications. The preferred unit test Swift organizes test cases and asserts expectations in your application code. One of the biggest challenges to Unit Testing in Swift is often the setup. XCTest helps manage optionals Swift, Swift guard let and Swift assertions. Learn the problem with XCTest and the simple fix to help you use it in a more efficient way.
In 2015, Raizlabs switched over to Swift for all iOS development. The move has been rewarding; Swift’s commitment to type safety and optional handling decreased our overall defect and crash rates (and increased developer happiness.) […]
Learn more about how to detect credit card type using Swift. From credit card prefixes to finding the credit card type by number, discover how auto-type detection is a nice UX touch for making a form feel responsive and quickly informing the user of validation issues.