Avatar
norio_nomura 2/8/2020 12:29 AM
Xcode 11.4のSwiftに _forEachField() ってのが入ってる。 https://github.com/apple/swift/pull/29042
This function walks all the fields of a struct, class, or tuple type, and calls body with the name, offset, and type of each field. body can perform any required work or validation, returning true ...