Thank you it solved the issue. By the way this is a child view. I am using this view in a parent view called ContentView. Why do I need to pass to pass a response to the child view? I don't want to pass results there because I fetch them from api. I got this error /Users/vojtechsimek/Desktop/Screenshot 2022-11-08 at 23.48.48.png
Sorry the image did not load. The error says: Missing argument for parameter 'results' in call, Insert 'results: <#Response#>' I got this error in ContentView
Why do you think that I don't need a key? I looked at the answer at stackoverflow and the person used an api key let translator = ROGoogleTranslate(with: "API Key here")
Thank you it solved the issue. By the way this is a child view. I am using this view in a parent view called ContentView. Why do I need to pass to pass a response to the child view? I don't want to pass results there because I fetch them from api. I got this error /Users/vojtechsimek/Desktop/Screenshot 2022-11-08 at 23.48.48.png
Sorry the image did not load. The error says: Missing argument for parameter 'results' in call, Insert 'results: <#Response#>' I got this error in ContentView
Why do you think that I don't need a key? I looked at the answer at stackoverflow and the person used an api key let translator = ROGoogleTranslate(with: "API Key here")