-
Notifications
You must be signed in to change notification settings - Fork 3
AutoLayoutTextView
fumoboy007 edited this page Nov 27, 2020
·
2 revisions
An NSTextView subclass that implements intrinsicContentSize so that the text view
can participate in layout outside of a scroll view.
open class AutoLayoutTextView: NSTextViewNSTextView
public override convenience init(frame frameRect: NSRect)public override init(frame frameRect: NSRect, textContainer container: NSTextContainer?)public required init?(coder: NSCoder)var stronglyReferencesTextStorage: Boolvar intrinsicContentSize: NSSizeopen override func encode(with aCoder: NSCoder)Called when the layout manager completes layout.
open func didCompleteLayout()The default implementation of this method invalidates the intrinsic content size.
open override func invalidateIntrinsicContentSize()open override func scaleUnitSquare(to newUnitSize: NSSize)Generated at 2020-11-27T07:13:09+0000 using swift-doc 1.0.0-beta.5.