(1) Don't use @encode(). valueWithPointer: just takes a raw
pointer; it needs no information about what it is a pointing to.
(2) You are passing nil as the target for invocation of -playForSure:
in the detached thread. This effectively does absolutely nothing as
there is no way for NSThread to know whose -playForSure: method
should be invoked.
If -playForSure: is implemented on self, then pass self as the target.
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden