Build Information
Successful build of AutoLayoutProxy, reference 4.1.0 (300fa5
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:00:30 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
[21/25] Compiling AutoLayoutProxy BBAnchorableViewOperators.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:30:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
28 |
29 | @discardableResult public func == <AnchorType: NSObject>(
30 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
31 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
32 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:31:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
29 | @discardableResult public func == <AnchorType: NSObject>(
30 | lhs: NSLayoutAnchor<AnchorType>,
31 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
32 | let constraint = lhs.constraint(equalTo: rhs)
33 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:31:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
29 | @discardableResult public func == <AnchorType: NSObject>(
30 | lhs: NSLayoutAnchor<AnchorType>,
31 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
32 | let constraint = lhs.constraint(equalTo: rhs)
33 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:38:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
36 |
37 | @discardableResult public func == (
38 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
39 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
40 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:39:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
37 | @discardableResult public func == (
38 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
39 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
40 | let constraint = lhs.constraint(equalTo: rhs)
41 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:39:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
37 | @discardableResult public func == (
38 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
39 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
40 | let constraint = lhs.constraint(equalTo: rhs)
41 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:46:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
44 |
45 | @discardableResult public func == (
46 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
47 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
48 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:47:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
45 | @discardableResult public func == (
46 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
47 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
48 | let constraint = lhs.constraint(equalTo: rhs)
49 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:47:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
45 | @discardableResult public func == (
46 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
47 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
48 | let constraint = lhs.constraint(equalTo: rhs)
49 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:54:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
52 |
53 | @discardableResult public func == (
54 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
55 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
56 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:55:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
53 | @discardableResult public func == (
54 | lhs: NSLayoutAnchor<NSLayoutDimension>,
55 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
56 | let constraint = lhs.constraint(equalTo: rhs)
57 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:55:48: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
53 | @discardableResult public func == (
54 | lhs: NSLayoutAnchor<NSLayoutDimension>,
55 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
56 | let constraint = lhs.constraint(equalTo: rhs)
57 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:64:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
62 |
63 | public func != <AnchorType: NSObject>(
64 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
65 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
66 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:65:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
63 | public func != <AnchorType: NSObject>(
64 | lhs: NSLayoutAnchor<AnchorType>,
65 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
66 | let constraint = lhs.constraint(equalTo: rhs)
67 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:65:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
63 | public func != <AnchorType: NSObject>(
64 | lhs: NSLayoutAnchor<AnchorType>,
65 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
66 | let constraint = lhs.constraint(equalTo: rhs)
67 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:72:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
70 |
71 | @discardableResult public func != (
72 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
73 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
74 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:73:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
71 | @discardableResult public func != (
72 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
73 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
74 | let constraint = lhs.constraint(equalTo: rhs)
75 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:73:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
71 | @discardableResult public func != (
72 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
73 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
74 | let constraint = lhs.constraint(equalTo: rhs)
75 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:80:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
78 |
79 | @discardableResult public func != (
80 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
81 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
82 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:81:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
79 | @discardableResult public func != (
80 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
81 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
82 | let constraint = lhs.constraint(equalTo: rhs)
83 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:81:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
79 | @discardableResult public func != (
80 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
81 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
82 | let constraint = lhs.constraint(equalTo: rhs)
83 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:88:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
86 |
87 | @discardableResult public func != (
88 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
89 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
90 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:89:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
87 | @discardableResult public func != (
88 | lhs: NSLayoutAnchor<NSLayoutDimension>,
89 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
90 | let constraint = lhs.constraint(equalTo: rhs)
91 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:89:48: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
87 | @discardableResult public func != (
88 | lhs: NSLayoutAnchor<NSLayoutDimension>,
89 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
90 | let constraint = lhs.constraint(equalTo: rhs)
91 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:98:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
96 |
97 | @discardableResult public func <=<AnchorType: NSObject>(
98 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
99 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
100 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:99:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
97 | @discardableResult public func <=<AnchorType: NSObject>(
98 | lhs: NSLayoutAnchor<AnchorType>,
99 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
100 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
101 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:99:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
97 | @discardableResult public func <=<AnchorType: NSObject>(
98 | lhs: NSLayoutAnchor<AnchorType>,
99 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
100 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
101 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:106:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
104 |
105 | @discardableResult public func >=<AnchorType: NSObject>(
106 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
107 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
108 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:107:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
105 | @discardableResult public func >=<AnchorType: NSObject>(
106 | lhs: NSLayoutAnchor<AnchorType>,
107 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
108 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
109 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:107:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
105 | @discardableResult public func >=<AnchorType: NSObject>(
106 | lhs: NSLayoutAnchor<AnchorType>,
107 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
108 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
109 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:116:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
114 |
115 | public func !<=<AnchorType>(
116 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
117 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
118 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:117:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
115 | public func !<=<AnchorType>(
116 | lhs: NSLayoutAnchor<AnchorType>,
117 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
118 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
119 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:117:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
115 | public func !<=<AnchorType>(
116 | lhs: NSLayoutAnchor<AnchorType>,
117 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
118 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
119 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:124:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
122 |
123 | public func !>=<AnchorType>(
124 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
125 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
126 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:125:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
123 | public func !>=<AnchorType>(
124 | lhs: NSLayoutAnchor<AnchorType>,
125 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
126 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
127 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:125:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
123 | public func !>=<AnchorType>(
124 | lhs: NSLayoutAnchor<AnchorType>,
125 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
126 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
127 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:134:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
132 |
133 | public func +<AnchorType>(
134 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
135 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
136 | (lhs, (1, rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:135:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
133 | public func +<AnchorType>(
134 | lhs: NSLayoutAnchor<AnchorType>,
135 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
136 | (lhs, (1, rhs))
137 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:140:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
138 |
139 | public func -<AnchorType>(
140 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
141 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
142 | (lhs, (1, -rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:141:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
139 | public func -<AnchorType>(
140 | lhs: NSLayoutAnchor<AnchorType>,
141 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
142 | (lhs, (1, -rhs))
143 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:146:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
144 |
145 | public func * (
146 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
147 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
148 | (lhs, (rhs, 0))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:147:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
145 | public func * (
146 | lhs: NSLayoutAnchor<NSLayoutDimension>,
147 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
148 | (lhs, (rhs, 0))
149 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:152:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
150 |
151 | public func / (
152 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
153 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
154 | (lhs, (1/rhs, 0))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:153:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
151 | public func / (
152 | lhs: NSLayoutAnchor<NSLayoutDimension>,
153 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
154 | (lhs, (1/rhs, 0))
155 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:158:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
156 |
157 | public func + (
158 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
159 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
160 | (lhs.0, (lhs.1.0, rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:159:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
157 | public func + (
158 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
159 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
160 | (lhs.0, (lhs.1.0, rhs))
161 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:164:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
162 |
163 | public func - (
164 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
165 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
166 | (lhs.0, (lhs.1.0, -rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:165:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
163 | public func - (
164 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
165 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
166 | (lhs.0, (lhs.1.0, -rhs))
167 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:172:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
170 |
171 | @discardableResult public func ==<AnchorType: NSObject>(
172 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:173:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
171 | @discardableResult public func ==<AnchorType: NSObject>(
172 | lhs: NSLayoutAnchor<AnchorType>,
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:174:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
172 | lhs: NSLayoutAnchor<AnchorType>,
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:190:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
188 |
189 | @discardableResult public func <=<AnchorType: NSObject>(
190 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:191:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
189 | @discardableResult public func <=<AnchorType: NSObject>(
190 | lhs: NSLayoutAnchor<AnchorType>,
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:192:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
190 | lhs: NSLayoutAnchor<AnchorType>,
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:208:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
206 |
207 | @discardableResult public func >=<AnchorType: NSObject>(
208 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:209:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
207 | @discardableResult public func >=<AnchorType: NSObject>(
208 | lhs: NSLayoutAnchor<AnchorType>,
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:210:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
208 | lhs: NSLayoutAnchor<AnchorType>,
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:228:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
226 |
227 | public func != <AnchorType: NSObject>(
228 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:229:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
227 | public func != <AnchorType: NSObject>(
228 | lhs: NSLayoutAnchor<AnchorType>,
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:230:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
228 | lhs: NSLayoutAnchor<AnchorType>,
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:246:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
244 |
245 | public func !<= <AnchorType: NSObject>(
246 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:247:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
245 | public func !<= <AnchorType: NSObject>(
246 | lhs: NSLayoutAnchor<AnchorType>,
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:248:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
246 | lhs: NSLayoutAnchor<AnchorType>,
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:264:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
262 |
263 | public func !>= <AnchorType: NSObject>(
264 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:265:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
263 | public func !>= <AnchorType: NSObject>(
264 | lhs: NSLayoutAnchor<AnchorType>,
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:266:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
264 | lhs: NSLayoutAnchor<AnchorType>,
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:284:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
282 |
283 | @discardableResult public func == (
284 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
285 | rhs: CGFloat) -> NSLayoutConstraint {
286 | let constraint = lhs.constraint(equalToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:285:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
283 | @discardableResult public func == (
284 | lhs: NSLayoutDimension,
285 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
286 | let constraint = lhs.constraint(equalToConstant: rhs)
287 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:292:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
290 |
291 | @discardableResult public func <= (
292 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
293 | rhs: CGFloat) -> NSLayoutConstraint {
294 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:293:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
291 | @discardableResult public func <= (
292 | lhs: NSLayoutDimension,
293 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
294 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
295 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:300:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
298 |
299 | @discardableResult public func >= (
300 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
301 | rhs: CGFloat) -> NSLayoutConstraint {
302 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:301:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
299 | @discardableResult public func >= (
300 | lhs: NSLayoutDimension,
301 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
302 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
303 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:310:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
308 |
309 | public func != (
310 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
311 | rhs: CGFloat) -> NSLayoutConstraint {
312 | let constraint = lhs.constraint(equalToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:311:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
309 | public func != (
310 | lhs: NSLayoutDimension,
311 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
312 | let constraint = lhs.constraint(equalToConstant: rhs)
313 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:318:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
316 |
317 | public func !<= (
318 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
319 | rhs: CGFloat) -> NSLayoutConstraint {
320 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:319:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
317 | public func !<= (
318 | lhs: NSLayoutDimension,
319 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
320 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
321 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:326:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
324 |
325 | public func !>= (
326 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
327 | rhs: CGFloat) -> NSLayoutConstraint {
328 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:327:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
325 | public func !>= (
326 | lhs: NSLayoutDimension,
327 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
328 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
329 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:175:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
177 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:176:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
177 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
178 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:193:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
195 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:194:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
195 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
196 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:211:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
213 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:212:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
213 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
214 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:231:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
233 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:232:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
233 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
234 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:249:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:250:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
252 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:267:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:268:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
270 | multiplier: rhs.1.0,
[22/25] Compiling AutoLayoutProxy BBAutoLayoutableOperators.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:30:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
28 |
29 | @discardableResult public func == <AnchorType: NSObject>(
30 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
31 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
32 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:31:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
29 | @discardableResult public func == <AnchorType: NSObject>(
30 | lhs: NSLayoutAnchor<AnchorType>,
31 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
32 | let constraint = lhs.constraint(equalTo: rhs)
33 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:31:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
29 | @discardableResult public func == <AnchorType: NSObject>(
30 | lhs: NSLayoutAnchor<AnchorType>,
31 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
32 | let constraint = lhs.constraint(equalTo: rhs)
33 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:38:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
36 |
37 | @discardableResult public func == (
38 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
39 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
40 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:39:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
37 | @discardableResult public func == (
38 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
39 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
40 | let constraint = lhs.constraint(equalTo: rhs)
41 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:39:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
37 | @discardableResult public func == (
38 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
39 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
40 | let constraint = lhs.constraint(equalTo: rhs)
41 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:46:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
44 |
45 | @discardableResult public func == (
46 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
47 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
48 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:47:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
45 | @discardableResult public func == (
46 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
47 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
48 | let constraint = lhs.constraint(equalTo: rhs)
49 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:47:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
45 | @discardableResult public func == (
46 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
47 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
48 | let constraint = lhs.constraint(equalTo: rhs)
49 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:54:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
52 |
53 | @discardableResult public func == (
54 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
55 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
56 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:55:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
53 | @discardableResult public func == (
54 | lhs: NSLayoutAnchor<NSLayoutDimension>,
55 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
56 | let constraint = lhs.constraint(equalTo: rhs)
57 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:55:48: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
53 | @discardableResult public func == (
54 | lhs: NSLayoutAnchor<NSLayoutDimension>,
55 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
56 | let constraint = lhs.constraint(equalTo: rhs)
57 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:64:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
62 |
63 | public func != <AnchorType: NSObject>(
64 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
65 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
66 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:65:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
63 | public func != <AnchorType: NSObject>(
64 | lhs: NSLayoutAnchor<AnchorType>,
65 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
66 | let constraint = lhs.constraint(equalTo: rhs)
67 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:65:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
63 | public func != <AnchorType: NSObject>(
64 | lhs: NSLayoutAnchor<AnchorType>,
65 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
66 | let constraint = lhs.constraint(equalTo: rhs)
67 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:72:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
70 |
71 | @discardableResult public func != (
72 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
73 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
74 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:73:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
71 | @discardableResult public func != (
72 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
73 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
74 | let constraint = lhs.constraint(equalTo: rhs)
75 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:73:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
71 | @discardableResult public func != (
72 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
73 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
74 | let constraint = lhs.constraint(equalTo: rhs)
75 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:80:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
78 |
79 | @discardableResult public func != (
80 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
81 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
82 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:81:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
79 | @discardableResult public func != (
80 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
81 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
82 | let constraint = lhs.constraint(equalTo: rhs)
83 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:81:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
79 | @discardableResult public func != (
80 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
81 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
82 | let constraint = lhs.constraint(equalTo: rhs)
83 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:88:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
86 |
87 | @discardableResult public func != (
88 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
89 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
90 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:89:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
87 | @discardableResult public func != (
88 | lhs: NSLayoutAnchor<NSLayoutDimension>,
89 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
90 | let constraint = lhs.constraint(equalTo: rhs)
91 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:89:48: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
87 | @discardableResult public func != (
88 | lhs: NSLayoutAnchor<NSLayoutDimension>,
89 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
90 | let constraint = lhs.constraint(equalTo: rhs)
91 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:98:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
96 |
97 | @discardableResult public func <=<AnchorType: NSObject>(
98 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
99 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
100 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:99:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
97 | @discardableResult public func <=<AnchorType: NSObject>(
98 | lhs: NSLayoutAnchor<AnchorType>,
99 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
100 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
101 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:99:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
97 | @discardableResult public func <=<AnchorType: NSObject>(
98 | lhs: NSLayoutAnchor<AnchorType>,
99 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
100 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
101 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:106:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
104 |
105 | @discardableResult public func >=<AnchorType: NSObject>(
106 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
107 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
108 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:107:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
105 | @discardableResult public func >=<AnchorType: NSObject>(
106 | lhs: NSLayoutAnchor<AnchorType>,
107 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
108 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
109 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:107:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
105 | @discardableResult public func >=<AnchorType: NSObject>(
106 | lhs: NSLayoutAnchor<AnchorType>,
107 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
108 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
109 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:116:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
114 |
115 | public func !<=<AnchorType>(
116 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
117 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
118 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:117:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
115 | public func !<=<AnchorType>(
116 | lhs: NSLayoutAnchor<AnchorType>,
117 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
118 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
119 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:117:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
115 | public func !<=<AnchorType>(
116 | lhs: NSLayoutAnchor<AnchorType>,
117 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
118 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
119 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:124:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
122 |
123 | public func !>=<AnchorType>(
124 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
125 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
126 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:125:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
123 | public func !>=<AnchorType>(
124 | lhs: NSLayoutAnchor<AnchorType>,
125 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
126 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
127 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:125:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
123 | public func !>=<AnchorType>(
124 | lhs: NSLayoutAnchor<AnchorType>,
125 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
126 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
127 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:134:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
132 |
133 | public func +<AnchorType>(
134 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
135 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
136 | (lhs, (1, rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:135:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
133 | public func +<AnchorType>(
134 | lhs: NSLayoutAnchor<AnchorType>,
135 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
136 | (lhs, (1, rhs))
137 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:140:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
138 |
139 | public func -<AnchorType>(
140 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
141 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
142 | (lhs, (1, -rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:141:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
139 | public func -<AnchorType>(
140 | lhs: NSLayoutAnchor<AnchorType>,
141 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
142 | (lhs, (1, -rhs))
143 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:146:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
144 |
145 | public func * (
146 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
147 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
148 | (lhs, (rhs, 0))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:147:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
145 | public func * (
146 | lhs: NSLayoutAnchor<NSLayoutDimension>,
147 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
148 | (lhs, (rhs, 0))
149 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:152:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
150 |
151 | public func / (
152 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
153 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
154 | (lhs, (1/rhs, 0))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:153:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
151 | public func / (
152 | lhs: NSLayoutAnchor<NSLayoutDimension>,
153 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
154 | (lhs, (1/rhs, 0))
155 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:158:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
156 |
157 | public func + (
158 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
159 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
160 | (lhs.0, (lhs.1.0, rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:159:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
157 | public func + (
158 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
159 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
160 | (lhs.0, (lhs.1.0, rhs))
161 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:164:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
162 |
163 | public func - (
164 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
165 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
166 | (lhs.0, (lhs.1.0, -rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:165:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
163 | public func - (
164 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
165 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
166 | (lhs.0, (lhs.1.0, -rhs))
167 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:172:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
170 |
171 | @discardableResult public func ==<AnchorType: NSObject>(
172 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:173:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
171 | @discardableResult public func ==<AnchorType: NSObject>(
172 | lhs: NSLayoutAnchor<AnchorType>,
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:174:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
172 | lhs: NSLayoutAnchor<AnchorType>,
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:190:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
188 |
189 | @discardableResult public func <=<AnchorType: NSObject>(
190 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:191:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
189 | @discardableResult public func <=<AnchorType: NSObject>(
190 | lhs: NSLayoutAnchor<AnchorType>,
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:192:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
190 | lhs: NSLayoutAnchor<AnchorType>,
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:208:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
206 |
207 | @discardableResult public func >=<AnchorType: NSObject>(
208 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:209:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
207 | @discardableResult public func >=<AnchorType: NSObject>(
208 | lhs: NSLayoutAnchor<AnchorType>,
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:210:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
208 | lhs: NSLayoutAnchor<AnchorType>,
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:228:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
226 |
227 | public func != <AnchorType: NSObject>(
228 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:229:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
227 | public func != <AnchorType: NSObject>(
228 | lhs: NSLayoutAnchor<AnchorType>,
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:230:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
228 | lhs: NSLayoutAnchor<AnchorType>,
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:246:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
244 |
245 | public func !<= <AnchorType: NSObject>(
246 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:247:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
245 | public func !<= <AnchorType: NSObject>(
246 | lhs: NSLayoutAnchor<AnchorType>,
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:248:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
246 | lhs: NSLayoutAnchor<AnchorType>,
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:264:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
262 |
263 | public func !>= <AnchorType: NSObject>(
264 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:265:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
263 | public func !>= <AnchorType: NSObject>(
264 | lhs: NSLayoutAnchor<AnchorType>,
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:266:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
264 | lhs: NSLayoutAnchor<AnchorType>,
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:284:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
282 |
283 | @discardableResult public func == (
284 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
285 | rhs: CGFloat) -> NSLayoutConstraint {
286 | let constraint = lhs.constraint(equalToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:285:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
283 | @discardableResult public func == (
284 | lhs: NSLayoutDimension,
285 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
286 | let constraint = lhs.constraint(equalToConstant: rhs)
287 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:292:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
290 |
291 | @discardableResult public func <= (
292 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
293 | rhs: CGFloat) -> NSLayoutConstraint {
294 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:293:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
291 | @discardableResult public func <= (
292 | lhs: NSLayoutDimension,
293 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
294 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
295 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:300:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
298 |
299 | @discardableResult public func >= (
300 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
301 | rhs: CGFloat) -> NSLayoutConstraint {
302 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:301:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
299 | @discardableResult public func >= (
300 | lhs: NSLayoutDimension,
301 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
302 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
303 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:310:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
308 |
309 | public func != (
310 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
311 | rhs: CGFloat) -> NSLayoutConstraint {
312 | let constraint = lhs.constraint(equalToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:311:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
309 | public func != (
310 | lhs: NSLayoutDimension,
311 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
312 | let constraint = lhs.constraint(equalToConstant: rhs)
313 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:318:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
316 |
317 | public func !<= (
318 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
319 | rhs: CGFloat) -> NSLayoutConstraint {
320 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:319:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
317 | public func !<= (
318 | lhs: NSLayoutDimension,
319 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
320 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
321 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:326:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
324 |
325 | public func !>= (
326 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
327 | rhs: CGFloat) -> NSLayoutConstraint {
328 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:327:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
325 | public func !>= (
326 | lhs: NSLayoutDimension,
327 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
328 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
329 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:175:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
177 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:176:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
177 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
178 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:193:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
195 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:194:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
195 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
196 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:211:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
213 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:212:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
213 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
214 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:231:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
233 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:232:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
233 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
234 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:249:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:250:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
252 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:267:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:268:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
270 | multiplier: rhs.1.0,
[23/25] Compiling AutoLayoutProxy BBAnchorable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:215:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
213 | switch relation {
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
216 | if let rhs = rhs as? NSLayoutDimension {
217 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:216:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
216 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
217 | lhs.constraint(
218 | lessThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:234:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
232 | }
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
235 | if let rhs = rhs as? NSLayoutDimension {
236 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:235:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
235 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
236 | lhs.constraint(
237 | greaterThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:253:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
251 | }
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
254 | if let rhs = rhs as? NSLayoutDimension {
255 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:254:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
254 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
255 | lhs.constraint(
256 | equalTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:306:24: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
304 | switch attribute {
305 | case .top:
306 | return top as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:308:25: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
306 | return top as? NSLayoutAnchor<AnchorType>
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:310:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
308 | return left as? NSLayoutAnchor<AnchorType>
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:312:27: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
310 | return leading as? NSLayoutAnchor<AnchorType>
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:314:26: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
312 | return bottom as? NSLayoutAnchor<AnchorType>
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:316:29: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
314 | return right as? NSLayoutAnchor<AnchorType>
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:318:26: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
316 | return trailing as? NSLayoutAnchor<AnchorType>
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:320:27: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
318 | return width as? NSLayoutAnchor<AnchorType>
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:322:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
320 | return height as? NSLayoutAnchor<AnchorType>
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:324:28: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
322 | return centerX as? NSLayoutAnchor<AnchorType>
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
325 | default:
326 | return nil
[24/25] Compiling AutoLayoutProxy BBAnchorableExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:215:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
213 | switch relation {
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
216 | if let rhs = rhs as? NSLayoutDimension {
217 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:216:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
216 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
217 | lhs.constraint(
218 | lessThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:234:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
232 | }
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
235 | if let rhs = rhs as? NSLayoutDimension {
236 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:235:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
235 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
236 | lhs.constraint(
237 | greaterThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:253:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
251 | }
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
254 | if let rhs = rhs as? NSLayoutDimension {
255 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:254:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
254 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
255 | lhs.constraint(
256 | equalTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:306:24: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
304 | switch attribute {
305 | case .top:
306 | return top as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:308:25: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
306 | return top as? NSLayoutAnchor<AnchorType>
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:310:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
308 | return left as? NSLayoutAnchor<AnchorType>
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:312:27: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
310 | return leading as? NSLayoutAnchor<AnchorType>
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:314:26: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
312 | return bottom as? NSLayoutAnchor<AnchorType>
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:316:29: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
314 | return right as? NSLayoutAnchor<AnchorType>
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:318:26: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
316 | return trailing as? NSLayoutAnchor<AnchorType>
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:320:27: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
318 | return width as? NSLayoutAnchor<AnchorType>
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:322:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
320 | return height as? NSLayoutAnchor<AnchorType>
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:324:28: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
322 | return centerX as? NSLayoutAnchor<AnchorType>
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
325 | default:
326 | return nil
[25/25] Compiling AutoLayoutProxy BBAnchorableHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:215:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
213 | switch relation {
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
216 | if let rhs = rhs as? NSLayoutDimension {
217 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:216:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
216 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
217 | lhs.constraint(
218 | lessThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:234:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
232 | }
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
235 | if let rhs = rhs as? NSLayoutDimension {
236 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:235:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
235 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
236 | lhs.constraint(
237 | greaterThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:253:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
251 | }
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
254 | if let rhs = rhs as? NSLayoutDimension {
255 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:254:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
254 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
255 | lhs.constraint(
256 | equalTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:306:24: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
304 | switch attribute {
305 | case .top:
306 | return top as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:308:25: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
306 | return top as? NSLayoutAnchor<AnchorType>
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:310:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
308 | return left as? NSLayoutAnchor<AnchorType>
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:312:27: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
310 | return leading as? NSLayoutAnchor<AnchorType>
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:314:26: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
312 | return bottom as? NSLayoutAnchor<AnchorType>
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:316:29: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
314 | return right as? NSLayoutAnchor<AnchorType>
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:318:26: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
316 | return trailing as? NSLayoutAnchor<AnchorType>
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:320:27: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
318 | return width as? NSLayoutAnchor<AnchorType>
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:322:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
320 | return height as? NSLayoutAnchor<AnchorType>
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.swift:324:28: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
322 | return centerX as? NSLayoutAnchor<AnchorType>
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
325 | default:
326 | return nil
Build complete! (14.92s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AutoLayoutProxy",
"name" : "AutoLayoutProxy",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "AutoLayoutProxy",
"targets" : [
"AutoLayoutProxy"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AutoLayoutProxyTests",
"module_type" : "SwiftTarget",
"name" : "AutoLayoutProxyTests",
"path" : "Tests/AutoLayoutProxyTests",
"sources" : [
"AutoLayoutProxyMocks.swift",
"AutoLayoutProxyTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AutoLayoutProxy"
],
"type" : "test"
},
{
"c99name" : "AutoLayoutProxy",
"module_type" : "SwiftTarget",
"name" : "AutoLayoutProxy",
"path" : "Sources/AutoLayoutProxy",
"product_memberships" : [
"AutoLayoutProxy"
],
"sources" : [
"BBAnchorable/BBAnchorable.swift",
"BBAnchorable/BBAnchorableExtensions.swift",
"BBAnchorable/BBAnchorableHelpers.swift",
"BBAutoLayoutable/BBAutoLayoutStackable.swift",
"BBAutoLayoutable/BBAutoLayoutable.swift",
"BBAutoLayoutable/BBAutoLayoutableExtensions.swift",
"BBAutoLayoutable/BBAutoLayoutableHelpers.swift",
"BBConvertible/BBEdgeInsetConvertible.swift",
"BBConvertible/BBMultiplierConvertible.swift",
"BBConvertible/BBOffsetConvertible.swift",
"BBConvertible/BBPriorityConvertible.swift",
"BBConvertible/BBSizeConvertible.swift",
"BBDeclarative/BBLayoutAnchor.swift",
"BBDeclarative/BBLayoutConstraint.swift",
"BBDeclarative/BBLayoutDimension.swift",
"BBHelpers/BBMultiplier.swift",
"BBHelpers/BBOffset.swift",
"BBHelpers/NSLayoutConstraintAttributeExtensions.swift",
"BBOperators/BBAnchorableViewOperators.swift",
"BBOperators/BBAutoLayoutableOperators.swift",
"BBOperators/BBAutoLayoutableQuadrupleOperators.swift",
"BBOperators/BBAutoLayoutableTupleOperators.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.