mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Rename Id to ID.
This commit is contained in:
@@ -12,7 +12,7 @@ import Articles
|
||||
import Core
|
||||
|
||||
@objc(ScriptableFolder)
|
||||
@MainActor class ScriptableFolder: NSObject, UniqueIdScriptingObject, ScriptingObjectContainer {
|
||||
@MainActor class ScriptableFolder: NSObject, UniqueIDScriptingObject, ScriptingObjectContainer {
|
||||
|
||||
let folder:Folder
|
||||
let container:ScriptingObjectContainer
|
||||
@@ -34,13 +34,13 @@ import Core
|
||||
return "folders"
|
||||
}
|
||||
|
||||
// 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)
|
||||
var scriptingUniqueId:Any {
|
||||
@objc(uniqueID)
|
||||
var scriptingUniqueID:Any {
|
||||
return folder.folderID
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user