Translation of "variable de type String" in English
string variable
variable of type string
Dans ce code, nous essayons de mettre un entier dans une variable de type String, et une chaîne de caractères dans une variable de type Int, et heureusement, Xcode génère des erreurs.
In that code, you're trying to put an integer into a string variable, and a string into an integer variable - and, thankfully, Xcode will throw up errors.
Path("username") String username : En paramètre de notre méthode getFollowing(), nous indiquons une variable de type String représentant le paramètre que Retrofit placera dans l'URL de la méthode GET.
Path("username") String username: As a parameter in our method getFollowing(), we're indicating a String variable representing the parameter that Retrofit will place in the URL of the GET method.
Par exemple, une fonction, qui attend comme paramètre un integer (entier), à laquelle est passée une string (chaine de caractères) recevra une variable de type string.
For example, a function that is given an integer for a parameter that expects a string will get a variable of type string.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.