My Developer Tools and Utilities List (2014 Edition)

I’ve often wanted to do a yearly roundup of the tools and utilities I use; if only as a log of things I use over time. I did this two years ago in 2012 and when I was thinking about getting back to blogging I wanted to update the list. The funny thing is not much has changed. I’m actually surprised that I don’t use that many tools. Hardware Retina MacBook Pro - Still working with my 2012 Retina MacBook Pro with 2.

Continue Reading »

→ Implementing a language with LLVM

Writing a programming language is not something I’d ever attempt to accomplish. However, the idea of getting a better understanding of LLVM is very interesting. This tutorial isn’t a complete lesson in the compiler, but I think it will at least help you learn a little more about it..

“This tutorial runs through the implementation of a simple language, showing how fun and easy it can be.”

Sounds fun. I’m in.

Controlling Xcode warnings via pragmas

I hate warnings in Xcode. Originally, they didn’t bug me too much and I’d even use the #warning preprocessor directive to note TODO items. I want problems to be the only thing that shows up in the build log so I notice it right away. Then, one day Xcode updates and I get a lot of new warnings. This is a good thing and you should choose to turn the stricter warnings on.

Continue Reading »

Automated Acceptance Testing or: How I stopped worrying and trusted the tests

This month at Triangle CocoaHeads in Durham, I stepped away from being just the organizer and did a talk on automated acceptance testing with Calabash. This is a topic I’m really excited to learn more about and am constantly trying to become a better tester. I first learned about Calabash when seeing a video of one of the blitz talks from NSConference about it. I started using it on one project and it seemed to do a nice job.

Continue Reading »

Static Linking with C++ Project in Xcode

This week at NSCoder Night, another developer was trying to statically link the MySQL library. He had initially linked it as a dynamic library and couldn’t seem to get it working with Xcode. After working with it for a little while I figured out what needed to happen; and it wasn’t clear. Here I’ll discuss what process I went through to track down the problem and what tools I used.

Continue Reading »

Things I wish I knew yesterday

Even when you’ve been working in an environment for years, you still find things you never knew. I liken it to learning about a famous actor you had never heard of, but has starred in all your favorite movies. I found two things that I wish I had known or seen, but for whatever reason, I missed. First up, convenience functions for converting a CGRect to a NSString or a NSString to a CGRect.

Continue Reading »

Global hotkeys in Cocoa on Snow Leopard

I am working on a small app at the office for all our mac users to help locate files on the network (more on this later), I decided to go with a spotlight style NSStatusItem based app. I’ve been really inspired by these apps lately (when done right). Mostly thanks to Notify. To make this more handy I decided to include a global hotkey. For Leopard and earlier, one problem is you have to use the old Carbon-based events.

Continue Reading »

Getting kids excited about coding

Want to get your kids excited about coding? Think about looking into arduino. My fashion design and meteorology loving daughter was having a great time and even said “coding is fun!”.

iPhone App UI Tricks - Drag from outside the Screen

This really isn’t a trick, or even a tip. In fact, no additional code was written to get this behavior. However, it is too cool not to show some how and the small pictures on the App Store don’t do it justice. By placing a UIView (or subclassed view) on the bottom of my main view, messages to touchesMoved:withEvent: are made as soon as your finger crosses into the iPhone’s screen.

Continue Reading »