当前位置:网站首页>SwiftUI iOS Boutique Open Source Project Complete Baked Food Recipe App based on SQLite (tutorial including source code)
SwiftUI iOS Boutique Open Source Project Complete Baked Food Recipe App based on SQLite (tutorial including source code)
2022-07-30 18:25:00 【Knowledge is fat】
Project Introduction
Build using SwiftUI and MVVM, the project implements a recipe scheduler for baked goods.Great for making sourdough bread, overnight pizza dough, and recipes that require more than a few hours to bake!
After reading this article, you will be able to make the interface below
Project Structure
Combat Code
1. Main interface
import Sugarimport SwiftUIstruct IndexView: View {@StateObject var viewModel: ViewModelinit(_ database: Database = .persistent) {let viewModel = ViewModel(store: RecipeStore(database))_viewModel = .init(wrappedValue: viewModel)}var body: some View {NavigationView {
边栏推荐
猜你喜欢
随机推荐
The sixteenth issue of eight-part article Balabala said (MQ)
3D机器视觉厂商的场景争夺战役
arcpy获取要素类(属性表)包含的数目
CMake library search function does not search LD_LIBRARY_PATH
【HMS core】【Analytics Kit】【FAQ】如何解决华为分析付费分析中付款金额显示为0的问题?
6块钱1斤,日本公司为何来中国收烟头?
【HMS Core】【FAQ】运动健康、音频编辑、华为帐号服务 典型问题合集7
好未来单季营收2.24亿美元:同比降84% 张邦鑫持股26.3%
【剑指 Offe】剑指 Offer 17. 打印从1到最大的n位数
BI报表与数据开发
Network Basics (3) 01-Basic Concepts of Networks - Protocols, Host Addresses, Paths and Parameters of URL Addresses & 127.0.0.1 Local Loopback Address & View URL IP Address and Access Ping Space + URL
微信小程序云开发 | 城市信息管理
Kettle--MySQL生产数据库千万、亿级数据量迁移方案及性能优化
WeChat Mini Program Cloud Development | Urban Information Management
第4章 控制执行流程
(2022杭电多校四)1001-Link with Bracket Sequence II(区间动态规划)
银行适用:此文能够突破你的运维流程管理问题
载誉而归,重磅发布!润和软件亮相2022开放原子全球开源峰会
【PHPWord】PHPOffice 套件之PHPWord快速入门
layaBox---TypeScript---接口