Editorial Workflows

UI Designer Demo

unlisted workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the workflow!

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: A test using UI DESIGNER.

Shared by: Tutorial Doctor

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
UI Increment ?
Source Code
import ui
import sound


value = 0

def button_tapped(sender):
	global value 
	value = value + 1
	label = sender.superview['label']
	label.text = str(value)
	sound.play_effect('Coin_2')

def button_tapped_down(sender):
	global value 
	value = value + -1
	label = sender.superview['label']
	label.text = str(value)
	sound.play_effect('Crashing')
	
ui.load_view().present('sheet')