Posted by Jaime | Posted in Coding | Posted on 08-03-2013
I actually automate Instruments to get finer grain information of what an application is actually doing.
To automated Instruments, according to Apple’s documentation, all you need is the DTPerformanceSession.framework… but, you actually need more than that, and you have to find where the dependencies are located.
Here are all of the libraries you need:
And here is where they are located:
Posted by Jaime | Posted in Coding | Posted on 12-12-2012
I had a project I worked on where I couldn’t debug my Application with Xcode 4.5 because there was a conflict between the libTIFF I was using in one of my modules and the copy of libTIFF included with the ImageIO framework.
It turns out that the two libTIFF libraries were actually different, so, for the small test project I created, I decided to statically link in the code I needed from libTIFF so that dlopen wouldn’t supplant the copy of libTIFF ImageIO needed with my copy.
Posted by Jaime | Posted in Funny, What's New | Posted on 04-12-2012
When was the last time you gave the Internet a great big hug? Seriously. Think about it… you love the Internet
Posted by Jaime | Posted in Coding | Posted on 01-10-2012
I’ve been using Google’s C++ Testing Framework for some time now, but as soon as I tried to use C++11 in Xcode, I was met with some issues about the tuple header file not being found.
Unfortunately for me, that means I had to leave that header out of my project using the following option:
GCC_PREPROCESSOR_DEFINITIONS = GTEST_HAS_TR1_TUPLE=0
Posted by Jaime | Posted in Tip | Posted on 28-09-2012
Thank to a tip at MacWorld, I was able to find out what process was locking a file I wanted to delete.
lsof | grep [whatever]
Posted by Jaime | Posted in Uncategorized | Posted on 31-08-2012
I took me long enough to figure out how to do this, but MacLife on has it all spelled out.
Posted by Jaime | Posted in Coding | Posted on 28-08-2012
I found that when you duplicate a Xcode project, say to make experimental changes you don’t want in the original project, you find that the newly duplicated project actually points to the original project.
That is because there is a workspace file within the xcodeproj bundle, project.xcworkspace, that contains the name of the original project, so you may want to edit that workspace file in order for it to point to the newly duplicated project.
Posted by Jaime | Posted in Tip | Posted on 20-08-2012
Well, at least ctrl+a and ctrl+e. I haven’t tried anything else, but I was surprised to find out that these even work within OmniGraffle.
Posted by Jaime | Posted in Coding | Posted on 27-07-2012
Perforce published a knowledge base article on how to use Xcode’s built in behaviors to check out a file: Automatically checking out files for edit in Xcode 4.3
This is nifty and similar to an article I saw posted on stackoverflow by user Mark Thalman.
Posted by Jaime | Posted in Review | Posted on 26-07-2012
Matt Inman made a video where he discussed how he does his illustrations for his website: www.theoatmeal.com.
If you haven’t seen any of this stuff, I would recommend that you only do it while you are home because his site is a big productivity killer.
Anyway, it got me very interested in doing illustrations again, but I’ve usually only do that by hand and I didn’t feel like spending $800 on Illustrator.
Off to Wikipedia!
Wikipedia has a listing vector programs available; some good, some bad; some just ok. I have been using Inkscape for a while, but I’m not too crazy about it.
Then I found Sketch by Bohemian Coding.
This program fits the bill!
It’s affordable, filled with a lot of features and actually works… which unfortunately most other programs don’t do.
My only gripe with Sketch is that it cannot open SVG based drawings or Illustrator files, but that I something I leave to Inkscape to do… though I would really love Sketch to do that instead.
So if you are looking to do vector based drawing at a reasonable price, check out Sketch.