Skip to content

molab-itp/06-ImageEditDemoJSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Based on 05-ImageEditDemo, modified to save using JSON

  • JSON saving code extracted from 06-ChipsSaveJSON

  • SaveLoadJSON.swift

    • // Write a value to file that will be stored in the documents directory as JSON
    • // Read a value stored as JSON from a file in the documents directory
example JSON file in project
  model.json

JSONEncoder and JSONDecoder resources

# Examine JSON file using Terminal App
# copy json file to Downloads folder
cp /Users/jht2/Library/Developer/CoreSimulator/Devices/A61E8277-3C67-469A-9B16-E7B6136F8327/data/Containers/Data/Application/AAD92999-F7F5-44E2-8D97-34814370FEEB/Documents/model.json ~/Downloads/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages