Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、Codex、Cursor 與 40+ 程式碼代理人作為持續機器人傳訊。群組聊天、主題串…
AI 翻譯
Cross-platform Swift implementation of UIKit, mostly for Android
翻譯準備中
開發工具Swift · KotlinGitHub @flowkey自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗UIKit-cross-platform is a UI framework for native apps, which enables code targeting iOS UIKit to run on other platforms, particularly on Android.
Currently in mobile development apps have to be written twice, for iOS and Android, or native performance has to be sacrificed with a cross-platform solution such as React Native.
This framework aims to combine both advantages, having native performance and writing code only once but still keeping a native look & feel.
./UIKit/create-android-project from the root of your iOS project./android folder in Android Studio (install Android SDKs if necessary) and press "run" buttonThis project includes a DemoApp which runs on iOS, Android and Mac.
How to run it on different platforms:
cd into it and run git submodule update --init --recursive./samples/getting-started/DemoApp.xcodeproj in Xcode
DemoApp target for the iOS AppDemoAppMac target for the Mac App./samples/getting-started/android with Android Studio (install Android SDKs if necessary)UIKit-cross-platform has to be added as a dependency to your project including its subdependencies.
The recommended way is to use git submodules to add it to an UIKit subdirectory.
In order to do so use the following command:
git submodule add [email protected]:flowkey/UIKit-cross-platform.git UIKit && git submodule update --init --recursive UIKit
brew install cmake && brew install ninja
Android SDK Build ToolsShow Package Details to see all available versions)/usr/local/ndk/30.0.16248370/ pointing to the path of the NDK (ln -vsi ~/Library/Android/sdk/ndk/30.0.16248370 /usr/local/ndk/30.0.16248370)UIKit-cross-platform renders with SDL_gpu which translates down to lower-level OpenGL instructions.
On Android, CMake compiles Swift Code into native binaries via Ninja, which are called through the NDK.
More detailed information about the architecture can be found here
This framework uses the Apple UIKit API, therefore the official Apple Docs serve as documentation for the already implemented features.
Contributions are very welcome and helpful 🙌
If you are looking for a feature or find a bug, please create an Issue.
For additional information please refer to our contribution guidelines.
UIKit-cross-platform is free software; you can redistribute it and/or modify it under the terms of the MIT License.