Help: The data block API in a swifty way

#21

This is a good article on the “builder pattern” style of API design in Swift, including an example of doing so with generics. This might provide for a close translation of the Python data block API style: https://www.swiftbysundell.com/posts/using-the-builder-pattern-in-swift

2 Likes