最新发布第20页
How to create and call an async function如何创建和调用异步函数-Stewed Noodles 资源

How to create and call an async function如何创建和调用异步函数

Using async functions in Swift is done in two steps: declaring the function itself as being async, then calling that function using await.在 Swift 中使用异步函数分两步完...
What’s the difference between actors, classes, and structs? Actors、Classes和 Structs 之间有什么区别?-Stewed Noodles 资源

What’s the difference between actors, classes, and structs? Actors、Classes和 Structs 之间有什么区别?

Swift provides four concrete nominal types for defining custom objects: actors, classes, structs, and enums. Each of these works a little differently from the others, but the first...
StoreView 商店视图-Stewed Noodles 资源
AI 工具-Stewed Noodles 资源

AI 工具

代码生成 通义灵码与代码小浣熊 VSCode 安装 tongyilingma 扩展 VSCode 安装 Raccoon 扩展 PyCharm 安装相同的插件即可 Github copilot VSCode 安装 Github copilot 扩展 PyCharm 安装相同的插...
巡检计划巡检状态选项添加颜色-Stewed Noodles 资源

巡检计划巡检状态选项添加颜色

列表页面添加 在 index.vue 中添加,如下的代码 <!-- 巡检计划状态添加颜色显示 --> <template v-if='column.leapKey === 'select' && column.prop === 'inspectionPlanStatus''>...
XuX的头像-Stewed Noodles 资源烩之面大会员XuX12个月前
0270
Kotlin 函数-Stewed Noodles 资源

Kotlin 函数

函数的声明 // 函数声明 fun functionName(parameter1: Type, parameter2: Type): ReturnType { // 函数体 // 执行逻辑 // (可选)返回值 } 无参无返回值 无参无返回值的函数,如下所示 // 无...
Collection 集合-Stewed Noodles 资源

Collection 集合

Kotlin 的 Collections(集合)分为不可变集合和可变集合。不可变集合是只读集合,元素在创建之后不能被修改,常见的不可变集合方法有: List 中的 listOf()、ListOf<T>() Set 中的 setOf(...
Jetpack Compose-Stewed Noodles 资源

Jetpack Compose

Jetpack compose 是谷歌开发的一款现代工具包,用于构建原生 Android用户界面。它允许开发者使用声明式编程模型为 Android应用构建 UI 界面,当底层数据发生改变时,Compose 负责更新 UI 界面,...
Property Delegation-Stewed Noodles 资源

Property Delegation

在 Kotlin 中,属性代理(Property Delegation)允许将一个属性 getter 和 setter 的实现委托给另一个对象(委托的对象)。 这项特性的标志就是关键字 by,它被用在 属性定义 与 委托(代理)对...
Bottom Navigation-Stewed Noodles 资源

Bottom Navigation

创建 Screen HomeScreen 的可组合函数 @Composable fun HomeScreen() { Column( modifier = Modifier.fillMaxSize(), horizontalAlignment = Alignment.CenterHorizontally ) { Button( onClick...