Skip to content

Dan-YY/RPTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

RP Code Test

RPComment as the superclass which conform Encodable protocal.

RPAnnotation is the subclass, and futrue class will all inherit form RPComment. Subclass's property should be added to CodingKeys and func encode. CodingKeys is needed otherwise subclass won't listing full var when conveting to json

RPStoreManager is a shared instance, it managing RPComment and RPComment's subclass to encode to JSON and posting to remote server. Todo: add how to posting data depands on the choosen server in postToStore functions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages