mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Make Database.framework build. Doesn’t work, but it builds.
This commit is contained in:
@@ -32,12 +32,17 @@ extension Article {
|
||||
let bannerImageURL = row.string(forColumn: DatabaseKey.bannerImageURL)
|
||||
let datePublished = row.date(forColumn: DatabaseKey.datePublished)
|
||||
let dateModified = row.date(forColumn: DatabaseKey.dateModified)
|
||||
let authors: [Author]? = nil
|
||||
let tags: Set<String>? = nil
|
||||
let attachments: [Attachment]? = nil
|
||||
let accountInfo: [String: Any]? = nil
|
||||
|
||||
// let authors = PropertyListTransformer.authorsWithRow(row)
|
||||
// let tags = PropertyListTransformer.tagsWithRow(row)
|
||||
// let attachments = PropertyListTransformer.attachmentsWithRow(row)
|
||||
// let accountInfo = accountInfoWithRow(row)
|
||||
|
||||
self.init(account: account, feedID: feedID, uniqueID: uniqueID, title: title, contentHTML: contentHTML, contentText: contentText, url: url, externalURL: externalURL, summary: summary, imageURL: imageURL, bannerImageURL: bannerImageURL, datePublished: datePublished, dateModified: dateModified, authors: authors, tags: tags, attachments: attachments, accountInfo: accountInfo)
|
||||
self.init(account: account, articleID: articleID, feedID: feedID, uniqueID: uniqueID, title: title, contentHTML: contentHTML, contentText: contentText, url: url, externalURL: externalURL, summary: summary, imageURL: imageURL, bannerImageURL: bannerImageURL, datePublished: datePublished, dateModified: dateModified, authors: authors, tags: tags, attachments: attachments, accountInfo: accountInfo)
|
||||
}
|
||||
|
||||
func databaseDictionary() -> NSDictionary {
|
||||
@@ -67,6 +72,6 @@ extension Set where Element == Article {
|
||||
|
||||
func articleIDs() -> Set<String> {
|
||||
|
||||
return Set(map { $0.databaseID })
|
||||
return Set<String>(map { $0.databaseID })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user