Created
March 31, 2020 18:01
-
-
Save PedroFarina/d95efdc9595c90b68c7a72699dc56a3c to your computer and use it in GitHub Desktop.
Criando um CKRecord
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
import CloudKit | |
let aluno = CKRecord(recordType: "Aluno") | |
aluno.setValue("Pedro", forKey: "Nome") | |
aluno.setValue("Economia", forKey: "Curso") | |
print(aluno["Nome"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment