Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、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.