| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
void PowerSourcesHaveChanged()
{
NSLog(@"ca a changi...");
[self doThisPlease]; // <- self undeclared
}
I tried to change :
IOPSNotificationCreateRunLoopSource(PowerSourcesHaveChanged, NULL);
by
IOPSNotificationCreateRunLoopSource(@selector(PowerSourcesHaveChanged),
NULL);
and void PowerSourcesHaveChanged()
by -(void)PowerSourcesHaveChanged
but my function is never called.
| References: | |
| >RunLoop and callback function (From: Thierry Bucco <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.