AssociatedObject icon indicating copy to clipboard operation
AssociatedObject copied to clipboard

🔗 Swift Macro for allowing variable declarations even in class extensions

Results 3 AssociatedObject issues
Sort by recently updated
recently updated
newest added

I found the associated object will become nil after some time in `Release` mode. I definitely did not set it. I can only assume there may be some other third-party...

This code get an error: `Value of type '(UIView) -> () -> UIView' has no member 'window' ` ```swift @AssociatedObject(.OBJC_ASSOCIATION_RETAIN_NONATOMIC) private var autoMaskView: UIView = { let view = UIView()...

Hey! Faced a strange problem. The following code fails to compile: ```swift protocol TestProtocol: AnyObject { associatedtype Err: Error } private extension TestProtocol { @AssociatedObject(.retain(.nonatomic)) var test: Bool = false...