add testFeedExists script; remove redundant uniqueId functions; add CFBundleURLTypes info.plist key

This commit is contained in:
Olof Hellman
2018-04-25 21:40:50 -07:00
parent 5cbc85a36b
commit e43a019cca
9 changed files with 38 additions and 22 deletions

View File

@@ -38,6 +38,7 @@ class ScriptableAuthor: NSObject, UniqueIdScriptingObject {
// I am not sure if account should prefer to be specified by name or by ID
// but in either case it seems like the accountID would be used as the keydata, so I chose ID
@objc(uniqueId)
var scriptingUniqueId:Any {
return author.authorID
}
@@ -49,11 +50,6 @@ class ScriptableAuthor: NSObject, UniqueIdScriptingObject {
return self.author.url ?? ""
}
@objc(uniqueId)
var uniqueId:String {
return self.author.authorID
}
@objc(name)
var name:String {
return self.author.name ?? ""