在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):JetBrains/kotlinconf-app开源软件地址(OpenSource Url):https://github.com/JetBrains/kotlinconf-app开源编程语言(OpenSource Language):Kotlin 66.8%开源软件介绍(OpenSource Introduction):KotlinConf AppThis is the official KotlinConf App! We hope you enjoy(ed) the conference and sessions. This repository contains the source code of the application. All pieces of the application are implemented in Kotlin. Backend, frontend and mobile apps are Kotlin applications. Yes, Kotlin is powering all parts of the story. Did I already say that? Okay, let's get to the details: ServerKotlinConf App is connecting to the server running in the cloud to get information about sessions, speakers, favorites and votes. It is developed using Ktor, an asynchronous Kotlin web framework. The server polls Sessionize service, which is used for planning the conference. Once in a while, it connects to APIs to get the latest information about sessions, speakers, and timeline. It then augments and republishes this information for clients to consume. It also provides a couple of extra APIs to save your favorites and accumulate votes. Android ApplicationAs you can imagine, the Android version is developed in Kotlin/JVM. What's interesting here is that this time application utilizes Multiplatform support, which is an experimental feature in Kotlin 1.3.61. Data structures for retrieving data from the backend server and some date-time operations are shared across multiple projects. iOS ApplicationUser interface of iOS version is written in Swift, all logic and data written in Kotlin in the common module. This way iOS part itself is responsible only for specifying how the application looks like and how it represents changes requested by logic. Kotlin and Swift are highly interoperable, so from Swift, you can easily use all classes and tools defined in the common module. How to build and runBuilding the code
Running the backend
Running the Android app
Running the iOSTo run iOS version you need to generate fat framework first:
Next you should install all pods with running:
Next you can open |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论