MacDependency
I found this useful tool, thanks to my coworker, that is an alternative to using the otool tool: MacDependency
I found this useful tool, thanks to my coworker, that is an alternative to using the otool tool: MacDependency
Right now I’m dealing with some code of mine that isn’t working on a Microsoft product. I got a webcam, a Microsoft Life Cam VX1000, that doesn’t want to work with DirectX. It’s weird. A Microsoft product that doesn’t want to work with a Microsoft SDK. I see on the web though that there are … Read more
I gave up on trying to get a UIPickerView to work properly on a UITableView. In a previous post, I had mentioned how I was having problems with this not working out for me. I was having two problems with the UIPickerViews I created: The UIPickerView did not not respond to gestures The UIPickerView did … Read more
I love reading code like this: int IAmGoingToReturnAnInt ( int* gimmeSomeData ) { int munchMunch = *gimmeSomeData; ++munchMunch; // Developer note: FU } Okay, the last developer note doesn’t really exist, but you would think that this function would return an integer. I mean, come on! Give me something!
This is a good reference for me since I have to do this on occasion when I switch from my Mac to my PC to do some general coding work: Enabling Memory Leak Detection
Today, I began using regular expressions to change a whole bunch of code. However, what I learned from using RegEx in TextMate was not the same as in Visual Studio. So, for example, the parenthesis around regular expressions to indicate a backreference in TextMate: (\w+) is represented by curly braces in VS: {\w+} And to … Read more
I’m having the darn-est time with this UIPickerView thing. I created a table view that has 4 rows. Two of the rows bring up a custom picker view, one row is a toggle switch control and the last is a text field. The last two controls work fine, but the UIPickerView does not. What happens … Read more
I actually implemented a large if, else if statement on the Mac with no problems. Go to compile that same code in Visual C++ 2008 and…. BANG! VC doesn’t play that! Apparently, there is a limit as to how many control statements you can have. Go figure 🙁
Thanks to my co-worker for showing me this really cool trick in TextMate! I have this project I’m working on where I need to represent enum values as text for analysis purposes. The enum though is not set up to be easily iterated over (Dr. Dobbs) (James Kanze), so I added a stream operator to … Read more
So, if I have a CrashReporter dump for a release application I am trying to troubleshoot, I found the following page very helpful: http://developer.apple.com/tools/xcode/symbolizingcrashdumps.html Essentially, I can take the crash report and find out what line of code the error occurred at. But, you have to have the source code in order to do this … Read more