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