Il giorno 13/lug/08, alle ore 12:13, Lorenzo ha scritto:

   timer = [[NSTimer scheduledTimerWithTimeInterval:timeInterval
               target:self selector:@selector(UpdateWindow:)
               userInfo:nil repeats:YES] retain];
   [[NSRunLoop currentRunLoop] addTimer:timer
               forMode:NSEventTrackingRunLoopMode];
   [[NSRunLoop currentRunLoop] addTimer:timer
               forMode:NSModalPanelRunLoopMode];


So only when UpdateWindow as been executed I have to delete an object and
prevent to work with a null pointer. Any suggestion?


what prevents you from calling the method at the end of UpdateWindow?

--
Simone Tellini
http://tellini.info



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to