David Beck's Blog

CGInsetRect

Wednesday, September 9th, 2009

I titled this post as such because I am hoping to help others that are in the situation I was in. Go ahead and Google “CGInsetRect”. When I did, I got 0 results. Not a single page has anything on it. The reason? While on Mac OS X you would call NSInsetRect, on iPhone you use CGRects. They are almost identical including having the same function set. The catch? NSRects functions all use the naming convention NSFunctionRect. CGRects on the other hand, as I forgot, use CGRectFunction.
Read More »

Filed under: Programming

NSTableView, NSArrayController and editing new rows

Sunday, May 10th, 2009

Figured out a very nice solution to automatically edit new rows added by NSArrayControllers via bindings! I searched for a while and didn’t find any correct solutions, so I made my own.
Read More »

Filed under: Programming

Working on “Robot Building for Beginners”

Saturday, April 4th, 2009

Wednesday I picked up a copy of “Robot Building for Beginners” from the library and am now almost done with it. I have read several other books on robots and electronics, but this is the first that isn’t a complete waste of paper.
Read More »

Filed under: Electronics

Finally getting somewhere with electronics

Saturday, March 28th, 2009

I feel like I am finally getting somewhere with this electronics thing.

A month ago I bought an ATMega168 microcontroller from Spark Fun Electronics. Having programed for several years now I felt like venturing into microcontrollers.
Read More »

Filed under: Electronics