Skip to content

Commit

Permalink
Merge pull request #39 from mobillium/feature/AddTranslatesAutoresizi…
Browse files Browse the repository at this point in the history
…ngMaskIntoConstraints

Add missing public access modifiers
  • Loading branch information
aslanmehmetsalih authored Aug 24, 2023
2 parents a7b9823 + f8a9ae2 commit babf60c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion MobilliumBuilders.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MobilliumBuilders'
s.version = '1.6.0'
s.version = '1.6.1'
s.summary = 'Builders classes'

s.homepage = 'https://github.com/mobillium/MobilliumBuilders'
Expand Down
2 changes: 1 addition & 1 deletion Sources/MobilliumBuilders/Classes/UIImageViewBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public class UIImageViewBuilder<T: UIImageView> {
}

@discardableResult
func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
public func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
self.imageView.translatesAutoresizingMaskIntoConstraints = translatesAutoresizingMaskIntoConstraints
return self
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/MobilliumBuilders/Classes/UILabelBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public class UILabelBuilder<T: UILabel> {
}

@discardableResult
func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
public func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
self.label.translatesAutoresizingMaskIntoConstraints = translatesAutoresizingMaskIntoConstraints
return self
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public class UIScrollViewBuilder<T: UIScrollView> {
}

@discardableResult
func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
public func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
self.scrollView.translatesAutoresizingMaskIntoConstraints = translatesAutoresizingMaskIntoConstraints
return self
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/MobilliumBuilders/Classes/UISliderBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public class UISliderBuilder<T: UISlider> {
}

@discardableResult
func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
public func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
self.slider.translatesAutoresizingMaskIntoConstraints = translatesAutoresizingMaskIntoConstraints
return self
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/MobilliumBuilders/Classes/UIStackViewBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class UIStackViewBuilder<T: UIStackView> {
}

@discardableResult
func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
public func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
self.stackView.translatesAutoresizingMaskIntoConstraints = translatesAutoresizingMaskIntoConstraints
return self
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/MobilliumBuilders/Classes/UITableViewBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public class UITableViewBuilder<T: UITableView> {
}

@discardableResult
func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
public func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
self.tableView.translatesAutoresizingMaskIntoConstraints = translatesAutoresizingMaskIntoConstraints
return self
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/MobilliumBuilders/Classes/UITextFieldBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public class UITextFieldBuilder<T: UITextField> {
}

@discardableResult
func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
public func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
self.textField.translatesAutoresizingMaskIntoConstraints = translatesAutoresizingMaskIntoConstraints
return self
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/MobilliumBuilders/Classes/UITextViewBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public class UITextViewBuilder<T: UITextView> {
}

@discardableResult
func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
public func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
self.textView.translatesAutoresizingMaskIntoConstraints = translatesAutoresizingMaskIntoConstraints
return self
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/MobilliumBuilders/Classes/UIViewBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public class UIViewBuilder<T: UIView> {
}

@discardableResult
func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
public func translatesAutoresizingMaskIntoConstraints(_ translatesAutoresizingMaskIntoConstraints: Bool) -> Self {
self.view.translatesAutoresizingMaskIntoConstraints = translatesAutoresizingMaskIntoConstraints
return self
}
Expand Down

0 comments on commit babf60c

Please sign in to comment.