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

@@ -43,7 +43,7 @@ class ScriptableFeed: NSObject, UniqueIdScriptingObject, ScriptingObjectContaine
// 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 feed.feedID
}
@@ -141,11 +141,6 @@ class ScriptableFeed: NSObject, UniqueIdScriptingObject, ScriptingObjectContaine
return self.feed.url
}
@objc(uniqueId)
var uniqueId:String {
return self.feed.feedID
}
@objc(name)
var name:String {
return self.feed.name ?? ""