![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
swiftUI
小莫分享
分享实用软件,技巧心得,提高效率。
展开
-
解决Swift package manager 拉取慢
登录:https://gitee.com/ 进行克隆 如:Kingfisher https://gitee.com/kingC/Kingfisher.git原创 2020-02-10 17:13:24 · 5458 阅读 · 0 评论 -
SwiftUI 装饰器 @State
import UIKit /** * 模仿SwiftUI @State注解 * **/ @propertyWrapper struct AState<T> { // class 是引用,不存在值拷贝的情况 private var bind: B init(wrappedValue : T) { bind = B(wrappe...原创 2019-12-11 16:05:49 · 561 阅读 · 1 评论