Freeze (Frozen Objects) and Thawing

@nirinchev

Thank you for the additional info. I want to make sure we understand the premise before implementation:

So it’s the same object and NOT a copy?

Let me use a real world example for clarity.

Suppose I have a viewController with a class var of DogClass.

self.myDog = realm.object(ofType: DogClass. self, forPrimaryKey: "1234")

another viewController is instantiated and passed a frozen dog

self.myDog.freeze
---> pass to other viewController

then I need to modify the dogs age so I thaw it in the other viewController

self.myDog.thaw
try! realm.write {
    self.myDog.age = 102
}

Will that write will reflect back to the self.myDog in the first viewController?

If not, more clarification will be needed so forgive my continual questions.