macOS ships an optional autocomplete model with Xcode, but I have no idea if it's actively worked on in any way