Skip to content

NuPlay/SwiftUI-VText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VText

VTextBanner

스크린샷 2021-04-17 오후 12 05 33

스크린샷 2021-04-17 오후 12 12 59 스크린샷 2021-04-17 오후 12 13 16
Code PreView
import SwiftUI
import VText

struct VText_Test: View {
    
    var body: some View {
        VStack{
            HStack(spacing: 32){
                VText(text: "Hello World!")
                VText(text: "Hello World!", fontWeight: .black, fontSize: 25, spacing: 10, alignment: .center)
            }
        }
    }
}

Known Issues

  • If the number of texts decreases, it crashes, and if the number of texts increases, it is not displayed properly.
    • ex) Hello = 5, Hi = 2