From 6c1fbf9d7265b2d49200b96dbed1ba215b7a42bf Mon Sep 17 00:00:00 2001 From: Zeeshan Mian Date: Thu, 1 Feb 2024 13:21:41 +1100 Subject: [PATCH] fix doc --- .../Xcore/Cocoa/Protocols/ExtensibleByAssociatedObject.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Xcore/Cocoa/Protocols/ExtensibleByAssociatedObject.swift b/Sources/Xcore/Cocoa/Protocols/ExtensibleByAssociatedObject.swift index 6ac2856fb..57142f28c 100644 --- a/Sources/Xcore/Cocoa/Protocols/ExtensibleByAssociatedObject.swift +++ b/Sources/Xcore/Cocoa/Protocols/ExtensibleByAssociatedObject.swift @@ -20,8 +20,8 @@ import Foundation /// /// /// A property indicating the date when the timer was paused. /// var pauseDate: Date? { -/// get { associatedObject(AssociatedKey.pauseDate) } -/// set { setAssociatedObject(AssociatedKey.pauseDate, value: newValue) } +/// get { associatedObject(&AssociatedKey.pauseDate) } +/// set { setAssociatedObject(&AssociatedKey.pauseDate, value: newValue) } /// } /// } /// ```