Post

Replies

Boosts

Views

Activity

Reply to How to create NSCollectionView programatically?
That's done in the attached source in makeNSView 				view.register(HostingCellView.self, forItemWithIdentifier: Cell.reuseIdentifier) 				view.register(HostingSupplementaryView.self, forSupplementaryViewOfKind: Self.headerIdentifier, withIdentifier: Header.reuseIdentifier) 				view.register(HostingSupplementaryView.self, forSupplementaryViewOfKind: Self.footerIdentifier, withIdentifier: Footer.reuseIdentifier)
Aug ’20