class Alerts {
class func test() {
print("test")
}
}
Given this class, I'd like to get a list of its class methods, but Mirror
only gives me its instance methods:
> Mirror(reflecting: Alerts.self).children.count
0
class Alerts {
class func test() {
print("test")
}
}
Given this class, I'd like to get a list of its class methods, but Mirror
only gives me its instance methods:
> Mirror(reflecting: Alerts.self).children.count
0