最新发布第22页
How to create a task group and add tasks to it 如何创建任务组并向其添加任务-Stewed Noodles 资源

How to create a task group and add tasks to it 如何创建任务组并向其添加任务

Swift’s task groups are collections of tasks that work together to produce a single result. Each task inside the group must return the same kind of data, but if you use enum assoc...
How to make async command-line tools and scripts 如何制作异步命令行工具和脚本-Stewed Noodles 资源

How to make async command-line tools and scripts 如何制作异步命令行工具和脚本

If you’re writing a command-line tool with Swift, you can use async code in two ways: if you're using main.swift you can immediately make and use async functions as norm...
How to run tasks using SwiftUI’s task() modifier 如何使用 SwiftUI 的 task() 修饰符运行任务-Stewed Noodles 资源

How to run tasks using SwiftUI’s task() modifier 如何使用 SwiftUI 的 task() 修饰符运行任务

SwiftUI provides a task() modifier that starts a new task as soon as a view appears, and automatically cancels the task when the view disappears. This is sort of the equi...
Xcode快捷键-Stewed Noodles 资源

Xcode快捷键

按键 符号 功能描述 Command ⌘ 常用于系统快捷操作,例如复制、粘贴等。 Option ⌥ 用于组合键或输入特殊字符。 Shift ⇧ 用于大写字母或功能增强。 Control ⌃ 结合快捷键的辅助按键。 Caps L...
XuX的头像-Stewed Noodles 资源烩之面大会员XuX1年前
0350
AI 工具-Stewed Noodles 资源

AI 工具

代码生成 通义灵码与代码小浣熊 VSCode 安装 tongyilingma 扩展 VSCode 安装 Raccoon 扩展 PyCharm 安装相同的插件即可 Github copilot VSCode 安装 Github copilot 扩展 PyCharm 安装相同的插...
Fragment-Stewed Noodles 资源

Fragment

基本介绍 Fragment 代表应用程序 UI 可复用的部分。Fragment 定义和管理自己的布局,拥有自己的生命周期,并且可以处理自己的输入事件。Fragment 不能独自存在,它们必须由一个 Activity 或者另...
XuX的头像-Stewed Noodles 资源烩之面大会员XuX11个月前
0350
Composable-Stewed Noodles 资源

Composable

在 Jetpack Compose 中,每一个 UI 元素都是通过一个带有 @Composable 注解的函数构建的,例如: @Composable fun Greeting(name: String) { Text(text = 'Hello $name') } 只要一个函数前加了 ...
xoa 重置数据库密码-Stewed Noodles 资源

xoa 重置数据库密码

修改数据库密码 打开 Navicat,右键点击已连接的 MySQL 服务器 → 选择「用户」。 选中目标用户(如root)→ 点击「编辑用户」。 在「常规」选项卡中找到「密码」字段 → 输入新密码并确认 → ...
XuX的头像-Stewed Noodles 资源烩之面大会员XuX2个月前
0350
W28 - 2026.07.06-Stewed Noodles 资源
Day 17 - 自定义类(Class)-Stewed Noodles 资源

Day 17 – 自定义类(Class)

自定义类 类定义的语法,如下 # 类的定义, ClassName必须首字母大写 class ClassName: # 类的对象 class_name_1 = ClassName() 常见的几种命名方式- PascalCase - camelCase - snake_case 构造...