Rename Id to ID.

This commit is contained in:
Brent Simmons
2024-04-16 19:37:53 -07:00
parent 814097504c
commit dad6c1f884
8 changed files with 30 additions and 30 deletions

View File

@@ -12,7 +12,7 @@ import Account
import Articles
@objc(ScriptableFeed)
@objcMembers class ScriptableFeed: NSObject, UniqueIdScriptingObject, ScriptingObjectContainer {
@objcMembers class ScriptableFeed: NSObject, UniqueIDScriptingObject, ScriptingObjectContainer {
let feed:Feed
let container:ScriptingObjectContainer
@@ -39,12 +39,12 @@ import Articles
return "feeds"
}
// MARK: --- UniqueIdScriptingObject protocol ---
// MARK: --- UniqueIDScriptingObject protocol ---
// 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)
@MainActor var scriptingUniqueId:Any {
@objc(uniqueID)
@MainActor var scriptingUniqueID:Any {
return feed.feedID
}