Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing public access modifiers #39

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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