• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I use NSStream with dispatch queues?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How do I use NSStream with dispatch queues? (From: Jens Alfke <email@hidden>)
 >Re: How do I use NSStream with dispatch queues? (From: Raffi Khatchadourian <email@hidden>)
 >Re: How do I use NSStream with dispatch queues? (From: Mark Pauley <email@hidden>)
 >Re: How do I use NSStream with dispatch queues? (From: Raffi Khatchadourian <email@hidden>)
 >Re: How do I use NSStream with dispatch queues? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How do I use NSStream with dispatch queues?
  • Next by Date: Re: How do I use NSStream with dispatch queues?
  • Previous by thread: Re: How do I use NSStream with dispatch queues?
  • Next by thread: Re: How do I use NSStream with dispatch queues?
  • Index(es):
    • Date
    • Thread