Skip to content

changemin/SegmentDisplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SegmentDisplay

โš ๏ธ This project is not complete yet!

Preview

sample-image

Usage

import SegmentDisplay

struct ContentView: View {
    @State var num = 300

    var body: some View {
        SegmentDisplay(digits: 3, num: $num)
    }
}
import SegmentDisplay

struct ContentView: View {
    @State var num = 5

    var body: some View {
        Segment(num: $num)
    }
}

Todo

  • italic
  • acccentColor Modifier
  • style variation(flat, ~~ round ~~)

7-segment-display-diagram

About

๐Ÿ“Ÿ 7 Segment Display in SwiftUI

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages