Recent Posts


jQuery Plugin: Objective C Learning Tool: Part 1


Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

This is Part 1 of on ongoing series.

Two things were irritating me.

The first, I was having a difficult time getting back into reading Obcetive C method syntax after spending all day slinging PHP and Javascript.

The second was that most of that Javascript I was slinging was using the Prototype Javascript Framework. Prototype’s a fine project, but I’ve never liked its “Hey, Javascript can be like Java” Class abstraction or its “HTML Sucks” Element object.

So, I decided to shake the rust off my jQuery and write a little widget/plugin that would highlight the various parts of an Objective C method signature. Copy/Paste the fake method signature, or any real method signature, into the text box and click away.

-(void) this:(int)param is:(NSString)param2 an:(NSObject)param3 example:(NSArray)param4
//fake method to past in the box below...

If you don’t see the forms above, you’ll need to turn javascript on (more on this later). Javascript and CSS source available.

Originally published January 9, 2009

Copyright © Alana Storm 1975 – 2023 All Rights Reserved

Originally Posted: 9th January 2009

email hidden; JavaScript is required