added primitives.h to Xcode project