1

Is there any way to get list of inner classes in Swift?

In other words: Does swift has Java analog of .class.getClasses()?

GuessWho
  • 664
  • 1
  • 6
  • 19
  • It may be done with objc/runtime.h. look the original objc source file. You may find something. https://github.com/opensource-apple/objc4/blob/master/runtime/objc-class.mm – Mani Apr 19 '18 at 12:34
  • Possible duplicate of [Swift nested class properties](https://stackoverflow.com/questions/26806932/swift-nested-class-properties) – Martin R Apr 19 '18 at 12:38

0 Answers0