#import versus #include

Objective-C introduced a new way to reference header files. Traditionally, a #include statement would literally drop in the header file of a respective file into a location indicated by the […]

More →

ARC Singleton

Singleton example using the automatic reference counter (ARC): Interface

Implementation

More →

User Agent Spoofing on OSX Safari

There are many applications for spoofing user-agents on web browsers. Most solutions from Firefox or Chrome utilize plug-ins to achieve this. Safari on OSX has the ability to perform this […]

More →

Cocoa for Scientists

This is a few years old now, but Drew over at macresearch.org has provided a host of cocoa examples: Author: Drew McCormack Articles in this series include: Hello Brave New […]

More →

Core-plot

Have you ever wanted to pull in some decent-looking plots into an iPhone app or OSX application? Core-plot is a google code project for plotting framework for ios. It has […]

More →

iPad Save To PDF

I’ve been looking for good ways to annotate PDF files directly on the iPad. One of the biggest problems is actually getting documents onto the device. The combination of Good […]

More →

SynthesizeSingleton.h

Singletons are single-instance objects for OSX or iOS programming projects. In objective-c they are only invoked once and have special handling for retain and release during memory management. There is […]

More →

OSX Terminal Tricks

Dragging Folders Command terminals support dragging and dropping of folders into the terminal itself. This is great if you need to quickly cd into a location that is otherwise easy […]

More →

Search

Websites

  • slide
  • slide
  • slide
  • slide