Xcode project, based on static framework without AppDelegate. How to add AppDelegate?

时间:2016-04-04 18:42:53

标签: ios objective-c xcode

I have Xcode project, that don't have any classes. It just run static framework from main.m:

int main(int argc, char *argv[])
{
    start(argc, argv);
}

How I can add for example push notifications to this project ? Im able to add my own classes and execute a code inside +(void)load, that will be launched before main.m But I am unable to run this code as a parallel thread.

May be I should create AppDelegate, but how to run this framework from AppDelegate ?

-alex

0 个答案:

没有答案