mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-10 00:50:55 +01:00
Add comment about deprecation warning that we can’t do anything about.
This commit is contained in:
parent
78c1f8fe59
commit
9794cc9a59
@ -200,6 +200,9 @@ private extension TimelineViewController {
|
|||||||
|
|
||||||
let sortedArticles = articles.sortedByDate(.orderedAscending)
|
let sortedArticles = articles.sortedByDate(.orderedAscending)
|
||||||
let items = sortedArticles.map { ArticlePasteboardWriter(article: $0) }
|
let items = sortedArticles.map { ArticlePasteboardWriter(article: $0) }
|
||||||
|
|
||||||
|
// There’s no replacement for the deprecated `NSSharingService.sharingServices` —
|
||||||
|
// and we need it in order to create a custom menu.
|
||||||
let standardServices = NSSharingService.sharingServices(forItems: items)
|
let standardServices = NSSharingService.sharingServices(forItems: items)
|
||||||
let customServices = SharingServicePickerDelegate.customSharingServices(for: items)
|
let customServices = SharingServicePickerDelegate.customSharingServices(for: items)
|
||||||
let services = standardServices + customServices
|
let services = standardServices + customServices
|
||||||
|
Loading…
x
Reference in New Issue
Block a user