Yeah, it appears to be declared as a macro in once.h in addition to being 
declared as a function.  

If you look in once.h and select dispatch_once in line 61, you will see the 
Quick Help entry for it.

"Executes a block object once and only once for the lifetime of an application. 
…"

But if you select where it is defined as a macro, you won't get any help.  I 
see a # define for the macro on line 72 in once.h.

I'm seeing it in the RHS panel when I select the function.

Do you see it when you click on the function in line 61?

Cheers,
Alex Zavatone


On Apr 6, 2015, at 11:08 AM, Steve Mills wrote:

> On Apr 2, 2015, at 14:07:10, Carl Hoefs <[email protected]> 
> wrote:
>> 
>> I can't get Xcode 6.2 to reveal documentation about dispatch_once in the
>> RHS side panel. All it refers me to is once.h, which has no usefull
>> information. I have to bring up the main Xcode documentation window and
>> type it in there to get the documentation for it. All the other dispatch_*
>> functions show up normally in the RHS panel just not dispatch_once.
> 
> Strange. I spent a few days with no left side content (well, actually the 
> center outline or index pane) after upgrading to 6.2. I thought Apple just 
> broke it. Luckily, Xcode crashes a lot when you try to command-click on a 
> symbol in an assistant editor pane (at least when a storyboard is being 
> displayed in the main editor), so it turns out all I needed to do was quit 
> and restart Xcode. Still, WTH?
> 
> --
> Steve Mills
> Drummer, Mac geek
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/zav%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to