I found "lenses" in this article for Swift, but it...
# random
d
I found "lenses" in this article for Swift, but it not looks as an elegant solution http://narf.pl/posts/lenses-in-swift