Created
June 17, 2023 16:26
-
-
Save tifoaudii/155c7b8f92d2b4a5db3156bd1b55e3da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let fileName: String = "TokenExtension.swift" | |
let destinationUrl = "\(FileManager.default.currentDirectoryPath)/\(fileName)" | |
do { | |
try tokenExtension.write(toFile: destinationUrl, atomically: true, encoding: .utf8) | |
print("Token Extension is successfully generated:\n \(destinationUrl)\n") | |
} catch { | |
print(error) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment