Full Decent Full Decent - 1 year ago 76
Swift Question

How to view just the public API "header" of a Swift file?

I am now programming in Swift to edit the file/class

and I need to refer to the public api for
. Because the Chicken wants to eat Food.

So I click on
so I can RTFM. But instead of just getting the public api part that I am interested in, I get all the private crap and implementation details.

This is inefficient. Back in C/Objective-C/C++, I would just click on the
file to get only the details I need.

Where does such information now exist for Swift development in XCode?

Answer Source


How about using counterparts option

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download