Reply to Using PencilKit in Swift. What is the best way to save PKDrawing into a remote database? How to serialize it? Maybe this can help func dataRepresentation() -> Data // << to store data in file init(data: Data) throws // << to restore from data read from file Programming Languages Swift Jul ’21