skip
skip copied to clipboard
Skip transpiler for creating SwiftUI apps for iOS and Android
As per the discussion in Slack. I create the app in Xcode (tried both 15.4 and 16b3): ``` helge@M2ni projects % skip init --open-xcode \ --appid=de.zeezide.skip.tests.SkipCows \ skip-cows \ SkipCows...
The only documentation for how to turn on native mode for Skip is to `skip init --native-app` or `--native-model`. I've found it really useful even when ultimately targeting transpiled mode...
https://skip.tools/docs/porting/ As discussed here https://github.com/orgs/skiptools/discussions/382 this porting guide is entirely about porting via Skip's native/bridged mode. The existing documentation should be updated to make it clear that it's talking entirely...
Generate a basic project with `skip init --appid=bundle.id project-name MyAppName` and launch it in Android Studio. Open the Layout Inspector view. Actual: The result is a nested view of indistinguishable...
func isDirectory(atPath path: String) -> Bool
My evaluation license expired. Whoops. But `skip checkup` and `skip doctor` have nothing to say about that. As far as they know, everything is fine. ``` % skip doctor Skip...
All of the generated aar files output from running `skip export` are using the same namespace, but they are supposed to be unique. It looks like this is happening because...
In https://github.com/dfabulich/skipapp-showcase/tree/repro-android-scrollview-crash there's a commit https://github.com/dfabulich/skipapp-showcase/commit/52c4c5dc3fa77fa1a3b270fc5e4f64df92fa2028 There, we add a `buggy` playground, like this: ```swift private struct ScrollViewReaderBuggyPlayground: View { var body: some View { ScrollView(.vertical) { VStack { ScrollView(.horizontal)...
In https://github.com/dfabulich/skipapp-showcase/tree/clipshape-rect-error-repro there's a commit https://github.com/dfabulich/skipapp-showcase/commit/282d0aabd524e6d3811e662601710ec2ebf5e1f1 that reproduces an error in Skip. In `ShapePlayground.swift`, I added code like this: ```swift HStack { Text("clipShape") Spacer() Color.black .frame(width: 100, height: 100) .clipShape(.rect(topLeadingRadius:...
In https://github.com/dfabulich/skipapp-showcase/tree/bad-error-failed-implicit-numeric-conversion I pushed a commit https://github.com/dfabulich/skipapp-showcase/commit/9c5bb0f35410f372604eb0b4c4ffe60d4481828b That commit includes a line of idiomatic Swift that doesn't compile correctly in Skip: https://github.com/dfabulich/skipapp-showcase/blob/9c5bb0f35410f372604eb0b4c4ffe60d4481828b/Sources/Showcase/TabViewPlayground.swift#L113 ```swift .aspectRatio(3/2, contentMode: .fill) ``` This code works...