• 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: Using NSURLSession in a command line tool?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSURLSession in a command line tool?


  • Subject: Re: Using NSURLSession in a command line tool?
  • From: Charles Srstka <email@hidden>
  • Date: Mon, 16 Mar 2015 13:04:47 -0500

On Mar 16, 2015, at 3:20 AM, Roland King <email@hidden> wrote:
>
> 	CFRunLoopStop( [ [ NSRunLoop mainRunLoop ] getCFRunLoop ];

Why not CFRunLoopGetMain() instead of going through NSRunLoop? No need to mix idioms if you don’t have to.

Charles

_______________________________________________

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


References: 
 >Using NSURLSession in a command line tool? (From: Daryle Walker <email@hidden>)
 >Re: Using NSURLSession in a command line tool? (From: Roland King <email@hidden>)

  • Prev by Date: Re: Using NSURLSession in a command line tool?
  • Next by Date: Re: Cocoa GUI app getting slower on MacPro or MacMini when disconnecting all screens
  • Previous by thread: Re: Using NSURLSession in a command line tool?
  • Next by thread: prevent UIAgent with floating NSPanel stealing focus?
  • Index(es):
    • Date
    • Thread