All Posts For: April, 2012

Apr 30 2012

Both kinds of Cocoa

If you’re an iOS programmer who only programs CocoaTouch, I want to encourage you to give desktop Cocoa a try. I’ve primarily been shipping iOS software for the last two years, but I’ve also been doing a fair amount of Cocoa programming on the desktop during that time, either writing helper tools or implementing parts of the iOS app on the desktop.…

Apr 30 2012

Finish Weekend ATL

Highgroove Studios is proud to be helping Collective Idea bring Finish Weekend to Atlanta this June:

We’ve all heard of startup weekends. Many of us have participated in one. Coming up with a new idea is easy, so is getting started.…

Apr 26 2012

Table Scanning

Every now and then I get a question about an idiom I use for looping through a collection of literal structures. This is handy for little lookup tables, or using pre-defined data to populate another data structure.

This is all generic C stuff, so you can use it in Objective-C too.…

Apr 23 2012

A Motivation for ivar decorations

An idiom used by some Objective-C programmers is prefixing instance variable names with underscores. You do see this with explicitly declared instance variables:

@interface BNRSoapBubble : NSObject {
    float _viscosity;
    NSString *_detergentBrand;
}
@end

Or via properties when you synthesize them:

// soapbubble.h
@property (whatever) float viscosity;
@property (whatever) NSString *detergentBrand;

// soapbubble.m
@synthesize viscosity = _viscosity;
@synthesize detergentBrand = _detergentBrand;

These synthesizes tell the compiler that each property should be backed by an instance variable whose name is prefixed by an underscore.…

Apr 21 2012

Live from Startup Weekend Atlanta

Startup Weekend in Atlanta kicked off last night with over 116 participants, and 48 pitches, eventually forming into 18 teams. The concept behind Startup Weekend is to start something up — a concept, business, or idea, over the weekend. It’s centered around technology, with people dividing themselves into categories like: “business folk”, “designers”, “developers”, and other niches.…

Apr 17 2012

Edge Sunspot: Native Geospatial Searches

Sunspot, a Ruby interface for Solr usually backed by ActiveRecord objects, recently introduced native geospatial searching capability in the master branch (currently a 2.0.0 prerelease).

While the functionality has not been released as a stable version yet, I felt that a blog post introducing the features is appropriate with the hope that folks will try it out and give feedback!…

Older posts