Skip to content

Commit

Permalink
Change view to private set (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-garricnahapetian authored Jan 22, 2024
1 parent b66b100 commit 7d32cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Layout/Layout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public final class Layout { // swiftlint:disable:this type_body_length
// MARK: - Properties

/// The parent view to which the layout will add subviews and superview constraints.
public weak var view: UIView?
public private(set) weak var view: UIView?

/// The default metrics for the Visual Format Language APIs.
public let metrics: [String: Any]
Expand Down

0 comments on commit 7d32cef

Please sign in to comment.