Tag: Xcode

Xcode dylib constructor destructor

Jaime 2015-02-26 No Comments Coding ,

I meant to post this link a while ago, but here it is anyway: TP40002013-SW17 So, in a dylib, you can have code execute when the dylib is loaded and execute code when the dylib is being unloaded: ?View Code C__attribute__((constructor)) static void initializer1() { printf("[%s] [%s]\n", __FILE__, __FUNCTION__); }   __attribute__((constructor)) static void initializer2() […]

Perforce and Xcode5

Jaime 2013-11-06 3 Comments Tools , , ,

In a previous post, Perforce and Xcode4, I created applescripts to work with Xcode4 and Perforce. I updated the AppleScripts to work with Xcode5 only and added a couple of new scripts. One, called p4_file_renamed.scpt, is used to update the renamed file Perforce when you are using Xcodes rename functionality, either directly or through the […]

Page 1 of 5