目录

SwiftUI TextView

The UITextView control wrapped in a UIViewRepresentable so that it can be used with SwiftUI and enhanced to update the text binding on each text change.

Installation

XCode > File > Swift Packages > Add Package Dependency…

Enter https://github.com/TomasHubelbauer/swiftui-text-view and instead of version select branch and leave in master.

Updating

XCode > File > Swift Packages > Update to Latest Package Versions…

Testing

After making changes, run swift build to ensure the manifest is syntactically correct.

关于
32.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号