Skip to main content

Objective-C

The insertion sort algorithm is a sorting algorithm used in computer science for sorting small amounts of data.  Recently, in my old Objective-C archives, I found an insertion sort implementation that I had been created but never seen the light of day on any project.

Like the quicksort or the insertion sort algorithm, the mergesort algorithm is a fundamental sorting algorithm in computer science.  A while back I was looking through my old Objective-C archives and found a mergesort implementation that was created but never had seen the light of day in any project.  To get some use out of this code  and to share this implementation with anyone looking for a mergesort algorithm I thought I would write a brief tutorial on how my implementation of mergesort works in Objective-C.  First, before getting started, there are a few things to keep in mind about thi

The quicksort algorithm is a fundamental sorting algorithm in computer science.  A while back I was looking through my old Objective-C archives and found a quicksort implementation that I had created that never seen the light of day in any project.  To get some use out of this code  and to share this implementation with anyone looking for a quicksort algorithm I thought I would write a brief tutorial on how my implementation of quicksort works in Objective-C.  First, before we get started though there are a few things to keep in mind about this tutorial.  The first is that this tutorial was

I have been developing a concept lately in which I thought I got all of the kinks worked out, but it looks like I am having some issues.  Basically in my iOS application I have a model that holds all of the data for my application and in that model I have a UIModel that inherits from my model where I build out all of my UI elements that are to be used throughout my application in many different places.

I ran into a strange problem the other day while I was working. I was developing a iPad photo application that included the functionality of selecting photos from your camera roll and taking images from the device's camera. I first developed the functionality to pull up the camera, take a photo, and save it to a UIImageView in the ViewController, this worked great and I did not think anything was up. However, when I developed the functionality to pull up the camera roll and select a photo to assign to the UImageView, the app kept crashing with a strange error I'd never seen before.