AppKit macOS 12.0 Beta 2 to Beta 3 API Differences

NSTextAttachment.h
Added NSTextAttachmentLayout
Added -[NSTextAttachmentLayout imageForBounds:attributes:location:textContainer:]
Added -[NSTextAttachmentLayout attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:]
Added -[NSTextAttachmentLayout viewProviderForParentView:location:textContainer:]
Added NSTextAttachment.lineLayoutPadding
Added +[NSTextAttachment textAttachmentViewProviderClassForFileType:]
Added +[NSTextAttachment registerTextAttachmentViewProviderClass:forFileType:]
Added NSTextAttachment.allowsTextAttachmentView
Added NSTextAttachment.usesTextAttachmentView
Added NSTextAttachmentViewProvider
Added -[NSTextAttachmentViewProvider initWithTextAttachment:parentView:textLayoutManager:location:]
Added NSTextAttachmentViewProvider.textAttachment
Added NSTextAttachmentViewProvider.textLayoutManager
Added NSTextAttachmentViewProvider.location
Added NSTextAttachmentViewProvider.view
Added -[NSTextAttachmentViewProvider loadView]
Added NSTextAttachmentViewProvider.tracksTextAttachmentViewBounds
Added -[NSTextAttachmentViewProvider attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:]
Modified -[NSTextAttachmentContainer imageForBounds:textContainer:characterIndex:]
Declaration
From- (NSImage *)imageForBounds:(NSRect)imageBounds textContainer:(NSTextContainer *)textContainer characterIndex:(NSUInteger)charIndex
To- (NSImage *)imageForBounds:(CGRect)imageBounds textContainer:(NSTextContainer *)textContainer characterIndex:(NSUInteger)charIndex

Modified -[NSTextAttachmentContainer attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:]
Declaration
From- (NSRect)attachmentBoundsForTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(NSRect)lineFrag glyphPosition:(CGPoint)position characterIndex:(NSUInteger)charIndex
To- (CGRect)attachmentBoundsForTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(CGRect)lineFrag glyphPosition:(CGPoint)position characterIndex:(NSUInteger)charIndex

Modified NSTextAttachment
Protocols
FromNSSecureCoding, NSTextAttachmentContainer
ToNSSecureCoding, NSTextAttachmentContainer, NSTextAttachmentLayout

Modified NSTextAttachment.bounds
Declaration
From@property NSRect bounds
To@property CGRect bounds

NSTextView.h
Modified NSTextView.textLayoutManager
Declaration
From@property (readonly, assign) NSTextLayoutManager *textLayoutManager
To@property (readonly, weak) NSTextLayoutManager *textLayoutManager

Modified NSTextView.textContentStorage
Declaration
From@property (readonly, assign) NSTextContentStorage *textContentStorage
To@property (readonly, weak) NSTextContentStorage *textContentStorage