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
''' | |
IOS file chooser | |
-------------------- | |
This module houses the iOS implementation of the plyer FileChooser. | |
.. versionadded:: 1.4.4 | |
''' | |
from plyer.facades import FileChooser |
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 ios | |
from pyobjus import autoclass | |
UIDevice = autoclass('UIDevice') | |
CurrentDevice = UIDevice.currentDevice() | |
Logger.info(f'WaverianApp: iOs device name : {CurrentDevice.name.cString()}') | |
UIApplication = autoclass('UIApplication') | |
sharedApplication = UIApplication.sharedApplication() | |
NotchDetector = autoclass("NotchDetector").alloc().init() |
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 kivy_ios.toolchain import Recipe, shprint | |
from os.path import join | |
import sys | |
import sh | |
class LFKBenchmarkRecipe(Recipe): | |
version = "main" | |
url = f'<your url here {version}.tar.gz>' | |
libraries = "lfk_benchmark/liblfk-benchmark.a", "lfk_benchmark/core/liblfk-core-nonoptimized.a", "lfk_benchmark/core/liblfk-core-optimized.a" |
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
''' | |
Custom Behaviors are defined in this module. | |
''' | |
from kivy.app import App | |
from kivy.animation import Animation | |
from kivy.lang import Builder | |
from kivy.clock import Clock | |
from kivy.config import Config |
OlderNewer