Unable to get "posing" to work using "Develop" build style...
Unable to get "posing" to work using "Develop" build style...
- Subject: Unable to get "posing" to work using "Develop" build style...
- From: David Hoerl <email@hidden>
- Date: Thu, 07 Apr 2005 11:38:02 -0500
I am trying to subclass NSTimer, and use the subclass to "pose" as
the real class - primarily to assist me in debugging. I am doing a
development build, and modified main.m as follows:
int main(int argc, char *argv[]) // NSObject
{
[myNSTimer poseAsClass: [NSTimer class] ];
NSLog(@"myTimer %@ Timer %@", [myNSTimer class], [NSTimer class]);
exit(-5);
return NSApplicationMain(argc, (const char **) argv);
... [class is defined above with implementation and interface sections]
If I run this as a development build, then the log shows that myTimer
has a class of myTimer. But, if I do a deployment style build, it
then works as expected. However, this is not a good way to develop
and text an app (having to do complete building of a standalone
application on every change!)
Am I missing some flag or technique, or am I SOL and going to have to
use the deployment build forever?
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden