Swift: provide "view" into public interface for a class

Originator:apontious
Number:rdar://17171646 Date Originated:6/5/2014
Status:Closed Resolved:Duplicate/16929154
Product:Developer Tools Product Version:
Classification:Enhancement Reproducible:Not Applicable
 
rdar://17136480 is about access control, my bug rdar://17166691 is about public readonly/private writable properties in Swift: this bug combines those and asks for an interface in Xcode that lets you see only the public properties/methods/etc. of a class, and therefore only there readonly aspect of public readonly/private writable properties.

Without this functionality, you would have to continually "eyeball" classes as you write them, picking out the public aspects manually, a tedious and error-prone process.

I could see this as an Assistant view, or a comparison view, in Xcode.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!