Author Archives: dclements

Importing a Framework

Commonly when working with the iPhone SDK we run into a situation where the specific library we need is in a precompiled framework. These frameworks are libraries: collections of functionality thrown together into one package. Using a framework is easy: … Continue reading

Posted in Uncategorized | Leave a comment

Patterns in Objective-C: Observer Pattern

One of the most common patterns, after the Singleton, in Java is the Observer Pattern. Also referred to as a Broadcaster/Listener or a Publish/Subscribe pattern. The basic principle is that there are two components: An Observer (or Listener) and a … Continue reading

Posted in Uncategorized | 1 Comment

Static Constant Strings in Objective-C

One of the most commonly used features in Java is the ability to avoid string “magic constants” by putting those strings into static variables. These values are then readily accessible inside of the class, not necessarily visible outside of it, … Continue reading

Posted in Uncategorized | 1 Comment

Patterns in Objective-C: Singleton Pattern

One of the challenges in switching to a new language is figuring out how design patterns adapt.   Sometimes the language has built-in facilities for the pattern, or features that work-around what the pattern was designed to do in the first … Continue reading

Posted in Uncategorized | Leave a comment

Types of Data

There are four types of data, or levels of measurement, that show up in databases.  Everything that goes into the database or shows up on a survey corresponds to one of these levels, from address fields to income.  It is … Continue reading

Posted in Uncategorized | Leave a comment

Arrays in Python

One of the first hurdles with doing data process in python is the format of the data. Our data naturally exists in rows and matrixes, but Python generally only allows us to work with one variable at a time. We … Continue reading

Posted in Uncategorized | Leave a comment

Data is Data

One of the things that can confuse a lot of people who are new to data analysis is the concept of “data is data.”  That is to say, so long as I have the data, the topic that I am … Continue reading

Posted in Uncategorized | Leave a comment

Cleaning Data, Introduction

One of the problems we frequently encounter in business is that our data is not as clean as we might want it to be.  We are plagued by duplicates, fields that are formatted incorrectly or in the wrong place, needed … Continue reading

Posted in Uncategorized | Leave a comment