• 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: [NSConnection release] anxiety
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSConnection release] anxiety


  • Subject: Re: [NSConnection release] anxiety
  • From: James Bucanek <email@hidden>
  • Date: Thu, 5 May 2005 11:50:11 -0700

Andy Lee wrote on Wednesday, May 4, 2005:
>This sounds like a candidate for one of the -performSelector... methods
>in NSObject, with a delay of 0.  Delayed performs are good for cases
>when you:

That's an excellent suggestion.  I was playing around with creating a one-shot timer to accomplish the same thing, but this is *much* simpler.

I was looking for a way to doing exactly this (just send a message to an object from the event loop at some future time) awhile ago, and gave up.  But I was looking at the APIs for NSApplication, NSRunLoop, and those classes.  I had no idea this capability was just a category attached to NSObject.  How simple!

Thanks for the tip,

James

--
James Bucanek <mailto:email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: [NSConnection release] anxiety (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: NSTextView - text wrapping
  • Next by Date: Re: Obtaining a reference to an entity's context's owner
  • Previous by thread: Re: [NSConnection release] anxiety
  • Next by thread: Re: [NSConnection release] anxiety
  • Index(es):
    • Date
    • Thread