Code review request for a Trie data structure written in Swift

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!

We don't have permission. (Test in private browsing mode to verify)

I'd also recommend Newest 'swift' Questions - Code Review Stack Exchange

1 Like

Sorry for that, should work now.

I left a few comments on Create Trie.swift · stoiandan/SwiftExamples@f0a05e8 · GitHub

2 Likes

Thanks for the review Alexander, I've integrated all of your sugestions. Highly appreciate it!