最新发布第16页
State-Stewed Noodles 资源

State

当 State 改变时,Compose 会自动重新构建(recompose)相关 UI,这就是 Compose 声明式 UI 的核心。 mutableStateOf mutableStateOf 是 Jetpack Compose 中最基础的状态容器。它会: 存储任意...
Windows 部署 Ollama-Stewed Noodles 资源

Windows 部署 Ollama

下载 Ollama在 https://ollama.com/download/ 页面下载,系统对应的 Ollama 程序。部署 Ollama安装 Ollama双击 Ollama 的程序,即可进行 Ollama 的安装。修改环境变量Ollama 的默认模型存储路径...
XuX的头像-Stewed Noodles 资源烩之面大会员XuX2年前
0400
Day 11 - 21点(黑杰克)-Stewed Noodles 资源

Day 11 – 21点(黑杰克)

游戏介绍 黑杰克(英语:Blackjack),是使用扑克牌玩的赌博游戏。游戏目标是将选手的卡片计数添加到最大而不超过21。纸牌的计数规则:A可作1或11点,2-10作该牌之点数,J、Q、K作10点。 代码实...
phaseAnimator-Stewed Noodles 资源

phaseAnimator

一个容器,通过自动循环遍历你提供的一系列阶段来对其内容进行动画处理,每个阶段定义了动画中的一个离散步骤。 具有阶段动画的弹跳 例如,前面展示的表情符号弹跳动画具有两个阶段:向上移动和...
XuX的头像-Stewed Noodles 资源烩之面大会员XuX1年前
0400
How to follow this guide 如何遵循本指南-Stewed Noodles 资源

How to follow this guide 如何遵循本指南

This guide is called Swift Concurrency by Example because it focuses on providing as many examples as possible. My goal is to stay laser-focused on real-world problems and real-wor...
Understanding actor initialization 了解 actor 初始化-Stewed Noodles 资源

Understanding actor initialization 了解 actor 初始化

Swift's actors run on their own executor most of the time, so they manage how and where their work is done. However, during the actor's initialization its executor isn't ready to t...
Understanding how global actor inference works 了解全局参与者推理的工作原理-Stewed Noodles 资源

Understanding how global actor inference works 了解全局参与者推理的工作原理

Apple explicitly annotates many of its types as being @MainActor, including most UIKit types such as UIView and UIButton. However, for a while the Swift team da...
Release checklist  版本清单-Stewed Noodles 资源

Release checklist 版本清单

Sure, all your tests pass, but how can you make sure your app functions properly? Most large projects have a solution called a release checklist, and here I want to share mine wit...
XuX的头像-Stewed Noodles 资源烩之面大会员XuX1年前
400
php 8.2 安装fileInfo扩展-Stewed Noodles 资源

php 8.2 安装fileInfo扩展

在 Centos 7中安装 php 8.2 的 fileInfo 扩展,宝塔面板安装的过程中会出现错误 宝塔面板安装 fileInfo 报错 解决方法如下 # 打开目录 cd /www/server/php/82/src/ext/fileinfo/ # 生成编译配置...
Intent-Stewed Noodles 资源

Intent

Intent 是一个基本组件,它促进了应用程序不同组件之间以及不同应用程序之间的通信。Intent 用于请求同一应用内或由其它应用执行的操作,它们用于各种目的,例如启动Activity、启动服务、广播消...
XuX的头像-Stewed Noodles 资源烩之面大会员XuX11个月前
0400