scratchjr/ios/ScratchJr/src
Chris Garrity 1420a5947a Split iOS and Android interfaces
Refactor the native interface in preparation for switching iOS to use WKWebview.
* Finally rename the folder for device specific interfaces as `tablet` instead of `iPad`
* Update `import` statements to use the new name
* Create new `iOS.js` and `Android.js` based on previous `iPad/iOS.js` to separate the interfaces
* Add new `OS.js` class to manage the class variables, initialize the device interface delegate methods to the correct interface.
* refactor how  `utils/lib` detects the current platform based on `navigtor.userAgent` based on https://stackoverflow.com/questions/37591279/detect-if-user-is-using-webview-for-android-ios-or-a-regular-browser. previous method relied on the Android interface being loaded or not. It can be difficult to detect the difference between in a browser and in a webview, but for now ScratchJr doesn’t need to worry about running in a browser
2020-08-10 09:11:47 -04:00
..
AppDelegate.h Initial commit 2016-01-08 14:31:04 -05:00
AppDelegate.m Update iOS to use Firebase Analytics 2019-10-21 13:00:37 -04:00
CameraMask.m Initial commit 2016-01-08 14:31:04 -05:00
CameraView.m Initial commit 2016-01-08 14:31:04 -05:00
Database.m Initial commit 2016-01-08 14:31:04 -05:00
IO.m Split iOS and Android interfaces 2020-08-10 09:11:47 -04:00
main.m Initial commit 2016-01-08 14:31:04 -05:00
RecordSound.m Limit size of sounds 2017-07-17 11:25:59 -04:00
ScratchJr.h Address comments 2019-10-25 12:27:32 -04:00
ScratchJr.m Fix Runtime Issues: 2018-09-11 09:32:02 +08:00
ViewController.h Initial commit 2016-01-08 14:31:04 -05:00
ViewController.m Split iOS and Android interfaces 2020-08-10 09:11:47 -04:00
ViewFinder.m Initial commit 2016-01-08 14:31:04 -05:00