Implement decoding

This commit is contained in:
Gregory John Casamento 2020-04-28 11:59:38 -04:00
parent a4e5ea39d7
commit 9dfe412e8e
2 changed files with 40 additions and 1 deletions

View file

@ -182,7 +182,9 @@
{
if ([coder allowsKeyedCoding])
{
_backgroundColor = [NSColor windowBackgroundColor];
[self setBackgroundColor: [NSColor windowBackgroundColor]];
[self setPathStyle: NSPathStyleStandard];
if ([coder containsValueForKey: @"NSPathComponentCells"])
{
[self setPathComponentCells: [coder decodeObjectForKey: @"NSPathComponentCells"]];