Quantcast
Channel: Andrew Bancroft
Browsing latest articles
Browse All 57 View Live

Image may be NSFW.
Clik here to view.

Receipt Validation – Verifying a Receipt Signature in Swift

You’ve prepared to test receipt validation by setting up your app in iTunes Connect. You’ve brought in a cryptography library like OpenSSL to be able to work with the PKCS #7 container that acts as...

View Article



Image may be NSFW.
Clik here to view.

Receipt Validation – Parse and Decode a Receipt with Swift

The aim of this guide is to help you parse a receipt and decode it so that you have readable pieces of metadata to inspect and finalize all of the receipt validation steps. This is a continuation of my...

View Article

Finalizing Receipt Validation in Swift – Computing a GUID Hash

The aim of this guide is to help you finalize the receipt validation process by computing the GUID hash for your app, and comparing it to the hash that’s stored within your receipt itself. This is a...

View Article

Local Receipt Validation for iOS in Swift From Start to Finish

Local receipt validation in Swift doesn’t seem to be widely written about. I’ve been able to find snippets of code scattered across the Internet, but nothing that brought everything together in one...

View Article

Swift 4 Upgrade Error: ‘init(colorLiteralRed:green:blue:alpha:)’ is unavailable

I upgraded a project to Swift 4 today and hit a compiler error: ‘init(colorLiteralRed:green:blue:alpha:)’ is unavailable: This initializer is only meant to be used by color literals. The fix is pretty...

View Article


Swift Cheat Sheet for iPhone Camera Access & Usage

This is a cheat sheet of the code and workflow for iPhone camera access and usage, from requesting permission to using the photo taken with a user’s device. Jump to… Framework Import Set Camera Usage...

View Article

Swift Cheat Sheet for iPhone Location Services Access & Usage

This is a cheat sheet of the code and workflow for iPhone location access and usage, from requesting permission to using the location of the user’s device. Jump to… Framework Import Set Location Usage...

View Article

Image may be NSFW.
Clik here to view.

The Case for CloudKit

Jump to… Developing for Apple Platforms Only? Expand Beyond Apple Platforms with CloudKit JS Want Built-in Authentication? CloudKit is Free for Longer Rolling Your Own Backend? Company Requirement:...

View Article


Do Core Data Entities Need Primary Keys?

In this video I pop the hood on Core Data’s SQLite persistent store to discover the details about whether or not you need to add a property representing a “primary key” for your Core Data Entities....

View Article


Image may be NSFW.
Clik here to view.

CloudKit Fundamentals

I’ve been hard at work on a new course for Pluralsight called “CloudKit Fundamentals“, and I’m thrilled to announce that the course is now LIVE in the Pluralsight library! At the core of developing a...

View Article
Browsing latest articles
Browse All 57 View Live




Latest Images