Skip to content

Develop #5

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

Merged
merged 4 commits into from
Oct 30, 2019
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
4 changes: 2 additions & 2 deletions Sources/SwiftUIKit/Containers/HStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import UIKit

@available(iOS 9.0, *)
public class HStack: UIView {
var views: [UIView] = []
public var views: [UIView] = []

init(withSpacing spacing: Float = 0,
public init(withSpacing spacing: Float = 0,
padding: Float = 0,
alignment: UIStackView.Alignment = .fill,
distribution: UIStackView.Distribution = .fill,
Expand Down
4 changes: 2 additions & 2 deletions Sources/SwiftUIKit/Containers/VStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import UIKit

@available(iOS 9.0, *)
public class VStack: UIView {
var views: [UIView] = []
public var views: [UIView] = []

init(withSpacing spacing: Float = 0,
public init(withSpacing spacing: Float = 0,
padding: Float = 0,
alignment: UIStackView.Alignment = .fill,
distribution: UIStackView.Distribution = .fill,
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Views/Label.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import UIKit

public class Label: UILabel {
init(_ text: String) {
public init(_ text: String) {
super.init(frame: .zero)

self.text = text
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Views/Spacer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class Spacer: UIView {
private var height: Float?
private var width: Float?

init(height: Float? = nil, width: Float? = nil) {
public init(height: Float? = nil, width: Float? = nil) {
self.height = height
self.width = width
super.init(frame: .zero)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Views/View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import UIKit

public class View: UIView {
init(backgroundColor: UIColor? = .white) {
public init(backgroundColor: UIColor? = .white) {
super.init(frame: .zero)

self.backgroundColor = backgroundColor
Expand Down
2 changes: 1 addition & 1 deletion SwiftUIKit_ccpods.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ s.requires_arc = true
s.swift_version = '5.0'

# 2
s.version = "0.1.3"
s.version = "0.1.4"

# 3
s.license = { :type => 'MIT' }
Expand Down