Skip to content

Instantly share code, notes, and snippets.

@miwillhite
Created September 19, 2013 02:17
Show Gist options
  • Save miwillhite/6618328 to your computer and use it in GitHub Desktop.
Save miwillhite/6618328 to your computer and use it in GitHub Desktop.
Currently I'm using a template system. For each element there is a template that all instances will be based off of. These templates don't hold any positioning information, just the absolute basics to create a new element for the canvas.
Attributes required from the server:
imageName <string>
message <string>
type* <string>
I'll also be storing the 'id' as 'uuid'.
* I'm not sure how to handle this one as the names can change…currently we have: juju, mantra, muse, frame, shelf. I'm actually storing the klassName (JJMantra, JJMuse, etc...) currently because CoreData wants the name of the class to perform any operations…but these could also change, potentially.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment