import AppKit

extension NSTextView {
    var stringValue: String {
        return self.string ?? ""
    }
}

extension NSTextView: Validatable {
    var isValid: Bool {
        return self.string?.isEmpty == false
    }
}

import AppKit

extension NSTextView {
    var stringValue: String {
        return self.string
    }
}

extension NSTextView: Validatable {
    var isValid: Bool {
        return self.string.isEmpty == false
    }
}

Update NSTextView .string usage for current SDK to non-optional
Update NSTextView .string usage for current SDK to non-optional
