Tag Archives: searching

Using NSUserActivity for Spotlight Search

Spotlight Search is a great feature that adds to the user experience. It’s very simple to use and with just a little effort you will add a great functionality to your apps. In this short tutorial we’ll be using NSUserActivity for spotlight search to index previously viewed content so it… Read more »

Binary Search Array Extension in Swift

      7 Comments on Binary Search Array Extension in Swift

There are more than a few search algorithms. Today we’ll examine one of them, the Binary Search Algorithm, and we’ll implement this algorithm using an array extension in swift. We’ll also compare the performance of this algorithm to your standard brute force search, and see how it compares. Binary Search Algorithm… Read more »