Make ContentView public
This commit is contained in:
@@ -20,6 +20,20 @@
|
||||
ReferencedContainer = "container:">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "Common"
|
||||
BuildableName = "Common"
|
||||
BlueprintName = "Common"
|
||||
ReferencedContainer = "container:">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
|
||||
@@ -10,15 +10,15 @@
|
||||
|
||||
import UIKit
|
||||
|
||||
/// A view assigned `contentView` property in StoryboardTests.storyboard.
|
||||
class ContentView: UIView {
|
||||
/// A content view used by `StoryboardTests`, `CodeTests`, and `ManagerTests`.
|
||||
public class ContentView: UIView {
|
||||
|
||||
/// A constraint that determines the view's width.
|
||||
var widthConstraint: NSLayoutConstraint!
|
||||
public var widthConstraint: NSLayoutConstraint!
|
||||
|
||||
/// A constraint that determine the view's height. This constraint's constant is
|
||||
/// manipulated externally to test the behavior of views of varying heights.
|
||||
var heightConstraint: NSLayoutConstraint!
|
||||
public var heightConstraint: NSLayoutConstraint!
|
||||
|
||||
override init(frame: CGRect) {
|
||||
super.init(frame: frame)
|
||||
|
||||
Reference in New Issue
Block a user