Headerdoc with delegate Protocols - Swift and xcode 7.2 -


i have defined protocol , added headerdoc documentation method in protocol. appears correctly when option+click method:

image of documentation in protocol

however, when option+click implementation within controller implements protocol, documentation not showing up:

enter image description here

my expectation documentation wrote protocol show in controller, similar documentation apple:

enter image description here

how protocol documentation visible elsewhere?

if document protocol's method implementation within protocol extension, documentation visible within type conforms protocol.

if omit extension's documentation, cando documentation protocol doesn't show anywhere else protocol itself, noticed.

protocol doable {     ///     func cando() }  extension doable {     ///     func cando() {         print("did it!")     } }  struct task: doable {     init() {         cando()     } } 

enter image description here


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -