I've written the search and add operation for a generic Trie, in Swift. The code is short, I was wondering if you have any recommendations as to if the code can be more idiomatic for the Swift language.
If you'd like to have a look, it's on Github, here
Thanks!