SwiftFSM Logo

Finite State Machine in Swift

SwiftFSM is state machine implemented in Swift as a library library. You may import this into your project. This post goes into explaining it’s functions and features.

October 26, 2016 · 7 min · Vishal V. Shekkar
A cover image showing a grid of drawers that typically archive physical objects or notes.

Archiving and Unarchiving Swift Structure Instances — Revisited

Note — Since the release of Swift 3, a few statements made in this article are not true for Swift 3, but they hold good for older versions of Swift. The power of structures in Swift makes you want to use it a lot more than you would in any other language. This is a good thing, as long as you know when to use structures and when to strictly not....

December 8, 2015 · 6 min · Vishal V. Shekkar

Archiving and Unarchiving Swift Structure Instances

Note — This article is now outdated. There’s a new article with updated info here. When working on a project not too long ago, My teammate and I came across the following situation. We started developing the project on Swift 2.0 and moved over to 2.1 with the released of Xcode 7.1. We used a class conforming to the NSCoding protocol to store the basic information about the app’s user....

November 4, 2015 · 2 min · Vishal V. Shekkar