dalezak / turbo-ios-base Goto Github PK
View Code? Open in Web Editor NEWTurbo-iOS base project that's entirely driven from your backend Rails app.
License: MIT License
Turbo-iOS base project that's entirely driven from your backend Rails app.
License: MIT License
@dalezak First of all many many thanks for creating this wonderful repository.
Second of all would you know of an equivalent repository to get started with the android counterpart e.g. turbo-android-base
?
The TabBar is not showing on devices that have a physical home button such as the iphone SE, 8, etc.
Hi, I'm trying to integrate your TurboController into my turbo ios app and I'm getting the error: Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value on line 224:
let environment = ProcessInfo.processInfo.environment["ENVIRONMENT"]! as String
When I ran your demo on my local machine no problems, so is this a configuration issue on my end or code compatibility with newer version of iOS? I noticed under Deployment target your demo is set to 14.5, while mine is 15.2, but even if I change mine to 14.5 I keep getting the error. Any help would be greatly appreciated!
Thanks!
In the turbo-ios demo when you open a link on modal you can see there is a "Cancel" button on the top left corner. How would you implement that into your TurboController main file? Any pointers will be greatly appreciated!
I am having an issue with the Tabbar buttons. The page loads when you click on the button, but the button does not change to the active state. It looks like it does for a second and then immediately changes back to the home button. Anyone else seeing this issue?
Thanks for putting this together! I was trying this out with a web app I've been experimenting with turbo on, and I noticed the turbo-ios
version referenced is an older beta release. I tried switching to the main branch, but the build fails with 'TurboController' does not conform to protocol 'SessionDelegate'
. It appears to stem from a change in release 7.0.0-rc.6
if you have a chance to look at it. I have next to zero experience with Swift, so not sure I can be of much help. =/
I've been able to get this working with the app at https://turbo-native-demo.glitch.me
, but when I try to connect to a local development rails app at http://localhost:3000
things go wrong.
I've set TURBO_URL->development
to http://localhost:3000
and App Transport Security Settings->Allows Local Networking
is YES
. When building and launching the app, I get the following output in the Xcode console:
2022-02-08 11:38:09.881444-0500 App[87765:101296449] [Storyboard] Unknown class _TtC3App14ViewController in Interface Builder file.
2022-02-08 16:38:09 +0000 - [ColdBootVisit] startVisit()
2022-02-08 16:38:10 +0000 - [Bridge] ← pageLoadFailed
2022-02-08 11:38:10.138793-0500 App[87765:101296449] [Loading] 0x157030818 - [pageProxyID=5, webPageID=6, PID=87769] WebPageProxy::didFailLoadForFrame: frameID=3, domain=NSURLErrorDomain, code=-999
2022-02-08 16:38:10 +0000 - [Bridge] ← pageLoaded
This looks to me like there's something in iOS preventing the webview from loading from localhost. Note this is using http
, not https
. I tried enabling NSAllowsArbitraryLoads
but that didn't help either.
Am I missing something really simple here?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.