runtime

C++ Executable Freezes at Runtime

I wrote a simple console program for the use of testing some key classes in a library I'm building. Now, the code builds correctly with no errors. But, after executing the code, I found that the application stops working after calling the Index method at a certain point in the code. I tried debugging a few different ways to get more info...

Detect Objective-C runtime version at runtime?

I'm searching for a way to dynamically detect the version of the objectivec runtime. It's different from iPhone Simulator (old) to iOS Devices (new) runtime. And some fancy stuff actually depends on the differences. For now I hacked around that issue with a preprocessor define: // simulator is a 32-bit mac app with old runtime, iOS de...