Skip to content

Commit

Permalink
Merge pull request #7 from MightyCombine/iosdevSW-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
iosdevSW authored Nov 22, 2023
2 parents 9893d4f + 9a56c4a commit 9a30f23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ private var store = Set<AnyCancellable>()
lazy var label = LabelBuilder()
.setText("\(Hello World)")
.setTextColor(.black)
.setPointTextColor("Hello", color: .red)
.setLineHeight(30)
.setTranslatesAutoresizing()
.addToSuperView(self.view)
.setTapPublusher(&store) {
Expand Down Expand Up @@ -185,10 +187,8 @@ lazy var uiSwitch = SwitchBuilder()
private var cancellables = Set<AnyCancellable>()

Builder
private lazy var inputStackView =
StackViewBuilder(
view: UIStackView(arrangedSubviews: [view1,view2,view3])
)
private lazy var inputStackView = StackViewBuilder()
.addArragedSubviews(view1, view2, view3)
.setSpacing(4.0)
.setCustomSpacing(10.0, after: view2)
.setAlignment(.fill)
Expand Down

0 comments on commit 9a30f23

Please sign in to comment.