Re: How do I use NSStream with dispatch queues?
Re: How do I use NSStream with dispatch queues?
- Subject: Re: How do I use NSStream with dispatch queues?
- From: Raffi Khatchadourian <email@hidden>
- Date: Tue, 20 Mar 2012 09:54:10 -0700
On Mar 20, 2012, at 9:49 AM, Jens Alfke wrote:
>
> On Mar 19, 2012, at 8:06 PM, Raffi Khatchadourian wrote:
>
>> There's another method named -performSelectorOnThread, which lets you run code in an arbitrary loop.
>
> Where? It doesn’t show up in the documentation. I’ve looked for something like that before but haven’t found it.
It's an instance method of NSObject:
- (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait
See http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/nsobject_Class/Reference/Reference.html.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden