• 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: Swift DispatchQueue docs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swift DispatchQueue docs?


  • Subject: Re: Swift DispatchQueue docs?
  • From: Wim Lewis <email@hidden>
  • Date: Mon, 21 Nov 2016 16:11:13 -0800

On Nov 21, 2016, at 1:48 PM, Rick Mann <email@hidden> wrote:
> Is there a way to look at the C header files for GCD? I tried opening Dispatch.h, and Xcode is stuck "Generating Interface…", presumably a Swift interface I don't want to see.

I've found that if I tell Xcode to open Foo.h, and Xcode gets stuck generating a nonexistent interface like that, opening Foo.h *again* while looking at the empty "Generating Interface…" or "No editor" pane will cause Xcode to actually open Foo.h.

> They seem pretty terrible. No explanation of any of the things.

I haven't found a universal way to discover how a given API is mapped into Swift except by getting Xcode's code-completion to suggest names for me. It is pretty terrible.

In some cases you can find a proposal for the API on swift-evolution and use it as documentation:
    https://github.com/apple/swift-evolution/blob/master/proposals/0088-libdispatch-for-swift3.md <https://github.com/apple/swift-evolution/blob/master/proposals/0088-libdispatch-for-swift3.md>


_______________________________________________

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: 
 >Swift DispatchQueue docs? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Swift DispatchQueue docs?
  • Next by Date: Re: NSComboBoxCell subclass pointers?
  • Previous by thread: Re: Swift DispatchQueue docs?
  • Next by thread: AutoSave for Windows
  • Index(es):
    • Date
    • Thread