Une belle concatenation sur Google Sheet pour la validation de données
=transpose(split(TEXTJOIN(",",TRUE,E14:E23)&","&TEXTJOIN(",",TRUE,J7:J12),","))
Pour réussir, il faut aussi de bons conseils... (journal d'un geek)
Une belle concatenation sur Google Sheet pour la validation de données
=transpose(split(TEXTJOIN(",",TRUE,E14:E23)&","&TEXTJOIN(",",TRUE,J7:J12),","))
https://www.themoderncoder.com/add-git-branch-information-to-your-zsh-prompt/
modifier la config (vim faire i (insert mode) modifier puis ESC puis :x! pour save ou :w! pour quit-no-save)
vim ~/.zshrc
Lancer une fonction avec plusieurs paramètres
updateUI(histoire: choix.0, choix1: choix.1, choix2: choix.2)
}
func updateUI(histoire: String,choix1: String, choix2:String) {
storyLabel.text = histoire
choice1Button.setTitle(choix1, for: .normal)
choice2Button.setTitle(choix2, for: .normal)
}
Retourner plusieurs paramètres dans une fonction
var choix = nextStory(userChoice:sender.currentTitle!)
func nextStory(userChoice: String) -> (histoire:String, choix1:String, choix2:String){
//ici le code de la fonction ou de la methode
return ( histoireActuelle, choixActuel1, choixActuel2)