[Swift] First class support for introspection
Currently, the Swift language does not directly support any form of introspection. True, it is possible to perform some introspection using the Objective-C runtime, but this appears to be a side effect of Swift’s relationship to Objective-C rather than an intentional design decision. Introspection is an important part of modern programming languages which puts a great deal of power into programmers hands. Without it, certain types of tasks become difficult or even impossible. This is particularly important for developers of reusable frameworks.
Steps to Reproduce
Search for an introspection API for the Swift language.
An introspection API would exist.
Some of Objective-C’s introspection functionality can be used with Swift, but much is missing and this should be part of Swift itself anyway.
Xcode 6 Beta 1
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!