Skip to content

{ Tag Archives } programming

When to use NSOperation vs. GCD

Mac OS X has a number of concurrency mechanisms, and that increases with Snow Leopard. In addition to run loops, threads (both Cocoa and POSIX) and operations, Snow Leopard adds Grand Central Dispatch (GCD), a very lightweight way to represent units of work and the style of concurrency they need, and have the system figure [...]

Also tagged , , , , ,

Rebutting Big Nerd Ranch on Objective-C 2.0 dot notation

The Big Nerd Ranch weblog has a new post about Objective-C 2.0 dot notation. They advocate never using it and they’re completely wrong. Given my reaction on Twitter, several people have asked me to write a more in-depth rebuttal. I’ve already addressed when and why you should use Objective-C 2.0 properties and dot notation in [...]

Also tagged , , , ,

When to use properties & dot notation

I listened to a recent episode of the cocoaFusion: podcast about properties and dot notation today. There were a few interesting points brought up, but I felt a couple of the most important reasons to use @property declarations and dot notation weren’t addressed. The biggest reason I see to use a different notation for both [...]

Also tagged , , , , ,

Not it!

I didn’t write Carrie’s Dots — but I did download it! It was written by Dr. Chris Hanson, a Chris Hanson who’s evidently still in the mid-South. Maybe the next time I get a chance to visit Mississippi, we’ll get to meet up!

Also tagged ,

No NSCoder night for me tonight!

I’d like to make it to NSCoder Night tonight, but I just have too much else to do today — again. I won’t be seeing anyone at NSCoder Night next week, either, as I’ll be in San Francisco for the Apple Worldwide Developers Conference! If you’re attending, be sure to find me and say hi!

Also tagged , , , , , , , ,

No NSCoder night for me tonight!

I’d like to make it to NSCoder Night tonight, but I just have too much else to do today. Hopefully I’ll see everyone there next week!

Also tagged , , , , , ,

CocoaHeads Silicon Valley at Apple on Thursday, May 15, 2008

The next CocoaHeads Silicon Valley meeting will be on Thursday, May 15, 2008 — that’s tonight! — at 7:30 in the Garage 1 meeting room at Infinite Loop 4 on Apple’s main campus. That’s inside and upstairs at Apple’s Infinite Loop campus in Cupertino. See the web site for directions. This month’s main presentation is [...]

Also tagged , , , , , ,

No NSCoder Night for me tonight!

I’d like to make it to NSCoder Night tonight, but I won’t be able to as I’ll be looking at a new place. Wish me luck, and have fun everybody!

Also tagged , , , , , ,

Build LLVM and clang!

I’ve talked about the LLVM Compiler Infrastructure in the past, but what I haven’t talked about yet is just how easy and quickly you can build it on your own Mac running Leopard! This is a great way to get into hacking on compiler lexical analyzers and parsers, code generators, optimizers, and so on. What’s [...]

Also tagged , , , ,

Copyright canonical form

One thing that’s nagged at me lately has been the series of applications I’ve seen lately with copyright statements that appear to be from the Bizarro universe. I don’t mean that they have weird license restrictions; rather, they have a copyright statement in their standard About panel that’s formatted strangely. It’s a minor pet peeve [...]

Also tagged ,