Tuesday, May 31, 2005

You are currently browsing the daily archive for Tuesday, May 31, 2005.

main

int main (int argc, const char * argv[]) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

double next_blog_post = [[NSDate distantFuture] timeIntervalSinceNow];
[NSTimer scheduledTimerWithTimeInterval:next_blog_post
target:[HumanObject humanWithName:@"Jean-Francois Roy"]
selector:@selector(updateBlog:)
userInfo:nil
repeats:NO];

[[NSRunLoop currentRunLoop] run];

[pool release];
return 0;
}