最新发布第12页
GeometryReader-Stewed Noodles 资源

GeometryReader

要获得视图的大小,即使不是不可能,也是很困难的。这正是 GeometryReader 可以提供帮助的地方。 GeometryReader 与推出式容器视图类似,可以添加子视图。它允许检查和使用有助于定位其中其他视...
iOS 其它相关知识-Stewed Noodles 资源

iOS 其它相关知识

版本管理 Xcode 快捷键 添加 emoji:Command + Control + Space 提交代码:Command + Option + C 显示或隐藏左侧导航窗口:Command + 0 显示或隐藏预览画布:Command + Option + Return
XuX的头像-Stewed Noodles 资源烩之面大会员XuX1年前
0390
@Attribute 宏定义属性-Stewed Noodles 资源

@Attribute 宏定义属性

框架默认的行为适用于大多数使用场景,能够有效管理模型类的存储属性。然而,如果您需要更改特定属性的持久化行为,可以使用 @Attribute 宏对其进行注解。例如,您可以通过指定某个属性的值在该...
What is an actor and why does Swift have them? 什么是 actor,为什么 Swift 有它们?-Stewed Noodles 资源

What is an actor and why does Swift have them? 什么是 actor,为什么 Swift 有它们?

Swift’s actors are conceptually like classes that are safe to use in concurrent environments. This safety is made possible because Swift automatically ensures no two pieces of cod...
MatPlotLib 的使用-Stewed Noodles 资源

MatPlotLib 的使用

MatPlotLib 的作用是绘制2D/3D图形,让深度学习可视化。具体的使用步骤 引入MatPlotLib库 使用MatPlotLib绘制图像 重要概念 Figure(画布) Axes(坐标轴) 基本流程 MatplotLib库使用流程 创建...
清空物品列表信息-Stewed Noodles 资源

清空物品列表信息

清除物品 执行下边的SQL语句,清除现有的物品。 # 清除物品信息表 DELETE FROM xinhu_goods; 清除物品分类 在【流程模块】->【数据选项】->【行政选项】->【物品分类】中进行分类的管...
Docker 部署 LEAP-Stewed Noodles 资源
Day 12 - 作用域 Scope-Stewed Noodles 资源

Day 12 – 作用域 Scope

Python 没有块级作用域(Block Scope),只有局部作用域以及全局作用域。 局部作用域 在函数中声明的变量(或函数)具有局部作用域(也称为函数作用域)。它们只能被同一代码块中的其他代码看到...
Day 5 - 循环-Stewed Noodles 资源

Day 5 – 循环

for 循环 for 循环的基本语法,如下所示 for item in list_of_items: # do something to each item 示例代码 fruits = ['Apple', 'Peach', 'Pear'] for fruit in fruits: print(fruit) # Apple ...
How to call async throwing functions 如何调用异步 throwing 函数-Stewed Noodles 资源

How to call async throwing functions 如何调用异步 throwing 函数

Just like their synchronous counterparts, Swift’s async functions can be throwing or non-throwing depending on how you want them to behave. However, there is a twist: although we ...