swift

Getting Started with HealthKit

Getting Started with HealthKit

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 […]

Testing Phones

XCTest Line by Line

Note: this article is up to date as of Swift 5.0 and Xcode 10.2 XCTest is Apple’s framework for testing code and user interfaces. It provides a variety of methods for testing equality, comparison, and […]

Enhancing ARKit Image Detection with CoreML

ARKit is quite good at tracking images, but it struggles to disambiguate similar compositions. Core ML can help fill in the gaps. ARKit Image Tracking ARKit is a powerful tool that allows developers to create […]

Tools We Love – iOS and Android

Learn more about Android Developer tools. From Android tools to iOS developer tools, discover our favorite Android and iOS tools that help us spend more time writing code, and less time in the spaces in between.

IB Free In Practice Logo

IB Free in Practice 1: Managing a Modal

This series of blog posts will provide examples of how we develop Swift applications without IB and demonstrate some general strategies for app architecture. For this first post, I’m going to cover presenting and dismissing […]

Localized Pluralization with Stringsdict

Learn more about swift localized strings. From xcode localization to nslocalizedstring, discover our tips on localization and pluralization that will make it easier next time you create user-facing strings that contain numbers.

computer with typing image

XCTest and Optional Unwrapping

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.

SIGTRAP: Decoding A Cryptic Objective-C + Swift Crash

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.) […]

Introducing RIGImageGallery

RIGImageGallery is a component from the Raizlabs Interface Guidelines, which is a set of UI components that offer sensible defaults to help a project get off the ground quickly and feel native to the platform, […]

Cleaner Credit Card Detection in Swift

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.