• 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: NSRunLoop issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRunLoop issue


  • Subject: Re: NSRunLoop issue
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 17 Sep 2009 19:01:58 +0200


Le 17 sept. 2009 à 18:28, Jerry Krinock a écrit :


On 2009 Sep 17, at 07:48, Jean-Daniel Dupas wrote:

Add a dummy source (mach port or timer with an insanely high fire date) before running your loop. So you re sure there is at least one source.

Please show a few lines of code adding a "dummy" mach port. One time I tried to do that and kept going around in circles in the documentation.



[[NSRunLoop currentRunLoop] addPort:[NSMachPort port] forMode:NSDefaultRunLoopMode];


Thanks!

Jerry Krinock


-- Jean-Daniel




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSRunLoop issue
      • From: Andreas Grosam <email@hidden>
References: 
 >NSRunLoop issue (From: Andreas Grosam <email@hidden>)
 >Re: NSRunLoop issue (From: Jean-Daniel Dupas <email@hidden>)
 >Re: NSRunLoop issue (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: How to create subentity object inheriting from superentity object in core data
  • Next by Date: Core Data: strange keypath problem
  • Previous by thread: Re: NSRunLoop issue
  • Next by thread: Re: NSRunLoop issue
  • Index(es):
    • Date
    • Thread