This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dialogs | |
import datetime | |
import ui | |
from objc_util import * | |
#================ copy dialogs.form_dialog: begin | |
import collections | |
import sys | |
PY3 = sys.version_info[0] >= 3 | |
if PY3: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from objc_util import * | |
import ctypes | |
import ui | |
from math import pi | |
from ImageColor import getrgb | |
import threading | |
from random import random | |
import multipeer, platform | |
import ast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# todo | |
# - right aligned keys? | |
import ui | |
from objc_util import * | |
import ui | |
from objc_util import * | |
def SetTextFieldPad(tf, pad=None, clearButtonMode=False, undo_redo_pasteBarButtons=True, textfield_did_change=None): | |
if not pad: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# todo | |
# - right aligned keys? | |
import ui | |
from objc_util import * | |
import ui | |
from objc_util import * | |
def SetTextFieldPad(tf, pad=None, clearButtonMode=False, undo_redo_pasteBarButtons=True, textfield_did_change=None): | |
if not pad: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - bug: if too much photos (10?), previous at left disappears too quickly | |
# - bug: rerun sometimes crashes even if Pythonista app restarts too quickly | |
from objc_util import * | |
import ui | |
import math | |
import photos | |
import time | |
import threading | |
load_framework('SceneKit') |