SilkyFalcon

Generation

generate functionWed, 07 Dec 2022

open every file in a specific folder than open all of them and write "Coded by Inventex" to the first line as a comment

func writeToFile(folder: path) { files = getFiles(path: folder) for file in files { f = open(file: file) f.write("Coded by Inventex") } }

Want to kickstart your project?Use the new AI Studio to create your code