上一页 1 2 3 4 5 6 7 8 9 ··· 192 下一页
摘要: 一,代码 1,ContentView // // ContentView.swift // helloworld2 // // Created by liuhongdi on 2026/3/28. // import SwiftUI import Alamofire struct ContentVi 阅读全文
posted @ 2026-04-04 10:37 刘宏缔的架构森林 阅读(9) 评论(0) 推荐(0)
摘要: 一,添加图片 二,显示图片代码 import SwiftUI struct DetailView: View { let id: Int // 接收传递过来的 id var body: some View { VStack(spacing: 20) { Text("诗词详情页") .font(.ti 阅读全文
posted @ 2026-04-04 10:37 刘宏缔的架构森林 阅读(11) 评论(0) 推荐(0)
摘要: 一,安装: 官方地址: https://gitcode.com/GitHub_Trending/ki/Kingfisher 二,代码: import Kingfisher import SwiftUI struct DetailView: View { let id: Int // 接收传递过来的 阅读全文
posted @ 2026-04-04 10:37 刘宏缔的架构森林 阅读(6) 评论(0) 推荐(0)
摘要: 一,代码 1,接口返回的json { "status": "success", "code": 200, "time": "2026-03-29 21:39:27", "msg": "", "data": { "list": [ { "id": 1, "author": "李白", "title": 阅读全文
posted @ 2026-03-29 22:08 刘宏缔的架构森林 阅读(3) 评论(0) 推荐(0)
摘要: 一,代码: import SwiftUI struct ContentView: View { @State private var message = "加载中..." var contentList: [[String: Any]] = [ ["id":1,"title":"夜宿山寺","aut 阅读全文
posted @ 2026-03-29 19:56 刘宏缔的架构森林 阅读(8) 评论(0) 推荐(0)
摘要: 一,代码 import SwiftUI struct ContentView: View { @State private var message = "加载中..." var contentList: [[String: Any]] = [["id":1,"title":"夜宿山寺","autho 阅读全文
posted @ 2026-03-29 16:34 刘宏缔的架构森林 阅读(5) 评论(0) 推荐(0)
摘要: 一,代码: 1,json返回: { "status": "success", "code": 200, "time": "2026-03-29 14:29:06", "msg": "", "data": { "list": [ { "id": 1, "author": "李白", "title": 阅读全文
posted @ 2026-03-29 15:25 刘宏缔的架构森林 阅读(3) 评论(0) 推荐(0)
摘要: 一,报错信息: [Result]: failure(Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded becaus 阅读全文
posted @ 2026-03-29 14:19 刘宏缔的架构森林 阅读(39) 评论(0) 推荐(0)
摘要: 一,报错信息: clang: error: no such file or directory: '/Users/Zhuanz1/Library/Developer/Xcode/DerivedData/helloworld2-awxeogfsyptvrtbktufnonzmwdat/Build/Pr 阅读全文
posted @ 2026-03-29 13:10 刘宏缔的架构森林 阅读(16) 评论(0) 推荐(0)
摘要: 一,查看当前的ruby版本: % ruby -v ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin24] 二,用rvm安装ruby的指定版本 % rvm install 3.2.11 三,查看效果: % ruby 阅读全文
posted @ 2026-03-29 11:46 刘宏缔的架构森林 阅读(13) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 192 下一页