Skip to content

Commit

Permalink
Revert "Fix overriding non-open class outside module"
Browse files Browse the repository at this point in the history
This reverts commit 5c3004b, because I'm not convinced that's a good idea.

We should double-check that **not** having `+supportsSecureCoding` declared on this subclass doesn't make it fail to be copy/pasted (i.e. archived/unarchived)—like similar cases happened when running Aztec tests. Or if we need `+supportsSecureCoding`, we need to find a way to override/redefine it across module boundaries…
  • Loading branch information
AliSoftware committed Apr 18, 2024
1 parent 5c3004b commit e21dbff
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ class Gutenblock: ParagraphProperty {
required public init?(coder aDecoder: NSCoder){
super.init(coder: aDecoder)
}

override public class var supportsSecureCoding: Bool { true }

}

0 comments on commit e21dbff

Please sign in to comment.