class PyXAppDelegate(NSObject): |
The C file looks (amost) like this:
#include < stdio.h> |
It's compiled in the usual way
tom-elliotts-mac-mini-2:~ telliott_admin$ gcc example.c -o example |
and then can be placed in a convenient directory, or more flexibly, added to the project. Notable, pathForResource_ofType_ will take 'None' for the second argument.
This is what it prints to the Console:
2008-08-07 19:44:05.325 PyX[3207:10b] Application did finish launching. |