Archive for the ‘Mac Programming’ Category


September 6, 2009 Leave a comment

If you haven’t read the Ars Technica review of Snow Leopard yet, you should do it!! It’s got a great break-down of the new features and even talks about the changes to the development environment. After seeing the breakdown of the new compiler shipped (Clang LLVM) with Snow Leopard, I fired up Xcode 3.2 and opened up my Plexer source code.

Build and Analyze… waiting, 17 issues!!! Oops!

Here’s a quick shot of one of the issues that it found:

Clang at Work

So I’m sure all of you seasoned Objective-C programmers are laughing out there at me right now, but what can I say, I’m still learning this whole retain-count memory management. 🙂

Needless to say, I was astounded that the compiler was able to figure this out for me. This will obviously be extremely handy for all of those new Objective-C programmers (and even veteran) that forget to release that memory when you’re done with it.

Clang is able to find other types of issues as well, like coding standards violations. For instance, I had a message named withName:(NSString*) and Clang realized that I was returning an instance and control of the memory and that my message name didn’t start with ‘copy’, ‘new’ or ‘alloc’.

Overall, I was actually quite impressed at what Clang was able to do. So yeah, if you have Snow Leopard and you’re a developer, you should definitely switch your projects to use the Clang compiler (unless your projects are C++, Clang doesn’t currently support that language).

For more Clang information, check it out here:

Busy Little Bee

I know, I know… it’s been a while. At least I can say that I’ve been working on some stuff though! 🙂

As some of you know, I stopped work on the Macurial project as the more I got into it, the more I started thinking that this may be a conflict of interest as my company produces tools for source control and I even work in the developer division. Maybe I should have realized this earlier… oh well.

Never fear though, I’ve been hard at work on another project though. Read more…

Cocoa Programming for Mac OS X

August 13, 2008 1 comment

I have to say that the book Cocoa(R) Programming for Mac(R) OS X (3rd Edition) by Aaron Hillegass is a great book and that anyone that is looking to learn Cocoa programming should definitely pick it up. Now if he only had one he could publish for the iPhone. :p

I’d write a long review, but you can check the reviews at Amazon. =)

Categories: Mac Programming Tags:

iPhone Development

Well, I did it; I signed up for the iPhone Development Program. I haven’t quite decided what apps I’m going to be building for my phone, but I have some ideas in mind. So far the process has been pretty tedious to get the phone setup and ready to have apps deployed to it. I’ve also seemed to run into a few little glitches, but after getting through that, I have to say, it’s pretty cool. =)

I’ve also picked up Aaron Hillegass’ book, it’s very well done.

Expect more updates from me on this topic later. 😉

MVC and Cross Platform Programming, pt 2

Ok… here’s the completion of the cross platform video tests, looks like the screen capture utility is working wonderfully. 

This VTM goes over designing a WPF window and loading the resulting XAML with C++/CLI. At the end, you have essentially a cross-platform program that can be built and run on both OS X and Vista using the same backing controller file.

Maybe I’ll throw together another demo of how to actually get that working, but no promises.

Here’s the vid:…


The video quality should be a tad better on this one. Let me know if you have any problems with the visibility.

MVC and Cross Platform Programming, pt 1

So I thought I’d do some tests of the new screen capturing software I have for my Mac and thought I’d do a topic that was somewhat interesting: basic cross platform development. 

Now before you get all excited, I don’t go into a lot a detail about anything other than showing you a way to hook up a view and controller to a backing C++ model. The good thing is that the same C++ model will be used on both OS X and Vista without any code changes so you’ll at least get to see how things are supposed to work like.

Anyhow, here’s a link to the first part which goes over creating the model for a temperature converter in Xcode and hooking up the controller and view for OS X. The next part will show the view and controller hook up in Vista using C++/CLI and WPF.

Video Part 1:…

Warning: the video resolution is quite high as it’s 75% of my screen resolution which makes them 1260×788. The quality is a little poor but should still be readable on this one; it will be better on the next part.