• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unable to get "posing" to work using "Develop" build style...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: stdint.h, Tiger, etc
  • Next by Date: Re: stdint.h, Tiger, etc
  • Previous by thread: Interface Builder & CodeWarrior 9 interaction: slow, why?
  • Next by thread: auto syntax indenting
  • Index(es):
    • Date
    • Thread