Markdown in SwiftUI Text
Reading time: 1 min
This recipe shows how to use markdown in SwiftUI Text views.
SwiftUI Text with HTML via NSAttributedString
Reading time: 8 min
This recipe shows how to format content of a SwiftUI Text
with HTML via NSAttributedString
on any SwiftUI version.
Make a View fit entire width of its parent
Reading time: 1 min
Ocassionally you wish to make a View fit entire width of its parent. You can do so by setting both minWidth
and maxWidth
:
SwiftUI Alert with TextField
Reading time: 2 min
This recipe shows how to add a TextField
to a SwiftUI alert
dialog.