swift

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.) While this increased safety is awesome for Swift-only apps, it can introduce some hiccups in legacy Objective-C + Swift hybrid […]

Read More

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, and with easy-to-use customization options. RIGImageGallery is designed to display a gallery of images with the expected behaviors established by […]

Read More

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.

Read More

Writing Libraries for Swift 2.x and 3.0 Compatibility

Learn more about Swift libraries and how to check the Swift versions for compatibility. Discover how to check swift versions and swift libraries from expert developers, and develop a strategy for using the Swift Standard Library and Cocoa libraries in a call site-compatible manner.

Read More

IB Free: Living Without Interface Builder and Loving It

Discover the benefits leaving Storyboards behind and becoming IB-free. See how to build a project and control a view’s layout using Anchorage.

Read More

Introducing BentoMap

BentoMap was designed to make it easy to store and retrieve a large amount  of map annotation data. It includes the concept of clustered annotations, and uses generics to allow flexible data storage. In order to handle large data sets efficiently, the annotations are stored using quadtrees. BentoMap is freely available under the MIT license […]

Read More

Core Data Type Safety with Swift

Learn more about Core Data with Swift. From Core Data itself to a Swift Core Data tutorial, see how to reduce the amount of force casting and optional unwrapping in your code.

Read More

Swift Mistakes I’ve Made – Learning Swift Best Practices

Swift extension is a programming language that developers love to use. Learn more about new Swift extensions, Swift userdefaults and Swift best practices. See real examples of Swift extension properties and, find Swift extension tricks for getting the best results.

Read More

UIStackView Demystified

Learn more about UIStackView. iOS Stackview lets you remove tedious setup codes. Find out about Stackview arranged subviews, equal centering, trailing, first baseline and more.

Read More