Flexbox in Swift,like SwiftUI and Flutter
MIT License
Bot releases are hidden (Show)
SDWebImage和Kingfisher二选一即可
用法:
@ UState var imgUrl = "https://upload-images.jianshu.io/upload_images/5809200-a99419bb94924e6d.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240"
ImageView(url: $imgUrl).size(100).backgroundColor(.orange).margin(.vertical,10)
或者
ImageView(url: "https://example.com/xx.png").size(100).backgroundColor(.orange).margin(.vertical,10)