[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSThread OS X 10.5 compatibility
From: |
David Wetzel |
Subject: |
NSThread OS X 10.5 compatibility |
Date: |
Thu, 22 Nov 2007 23:32:26 +0100 |
Hi folks,
Apple has updated the NSThread API
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSThread_Class/Ref
erence/Reference.html
Who is currently hacking on NSThread?
I would like to do this:
_t = [[NSThread alloc] initWithTarget:self
selector:@selector(runOnce:)
object:nil];
[[NSNotificationCenter defaultCenter] addObserver: self
selector:@selector(threadWillExit:)
name:NSThreadWillExitNotification
object: _t];
[_t run]; // or start...
Any comments?
Dave
- NSThread OS X 10.5 compatibility,
David Wetzel <=