code for the scrawl space iOS app