Forum Archive

See your Photos in an UIPickerView

cvp

script here

cvp

@brumm Did you upvote for the script or for my dog 😂?

brumm

@cvp: For both 😄

mikael

@cvp, magnificent. Are you planning on creating a one-armed bandit game?

cvp

@mikael I could try...

cvp

@mikael Far from perfection, but good idea of what it could be, script here

cvp

New version V0.1 of OneArmBanditGame.py

# Version V0.1
# - bug: view title was "diring" instead of "during"
# - mod:random selection, 
#       instead of showing (selecting) row between 1th and n-th,
#   show (select) row between n + 1 and n + n to avoid blank rows at top
# - mod: disable manual spin
# - mod: inverse rotation sense, like real one-arm bandit games
# - mod: always turn in same sense
# - mod: reuse identic view per component