Add enciding for NSGridCell

This commit is contained in:
Gregory John Casamento 2020-11-16 14:32:46 -05:00
parent 07fcafcfdc
commit db428d9e0c
2 changed files with 17 additions and 0 deletions

View file

@ -339,6 +339,12 @@
{
if ([coder allowsKeyedCoding])
{
[coder encodeObject: _contentView forKey: @"NSGrid_content"];
[coder encodeObject: _mergeHead forKey: @"NSGrid_mergeHead"];
[coder encodeObject: _owningRow forKey: @"NSGrid_owningRow"]; // weak
[coder encodeObject: _owningColumn forKey: @"NSGrid_owningColumn"]; // weak
[coder encodeInteger: _xPlacement forKey: @"NSGrid_xPlacement"];
[coder encodeInteger: _yPlacement forKey: @"NSGrid_yPlacement"];
}
else
{