GNUstep / Objective-c and nib Files

I don’t think I fully understand how objects and their source file interact with Gorm. When you subclass a class like NSObject, it seems to save a snapshot of that object according to how you set it up with points and actions.

My first question is: where is this class stored (before it was created in nib, because it is not an implementation file, but not in nib yet?

enter image description here

Where is the AppController configuration (my custom subclass) stored as it is in the image above? This is a temporary file because it exists before the instantiation.

Now, when it is created, it looks like a snapshot of this class, but you have not implemented it yet, since it is frozen at the tip, if you can configure it after saving the * .gorm file?

enter image description here

In the above image, the icon for the AppController seems to be an object, but I haven't written an implementation yet, so at what point and how are the two connected. Is the AppController in nib acting like a proxy for an object or is the object serialized in nib when compiled?

Sorry if this is confusing, I tried to explain my question as best as I could. I am very grateful for any help. :-)

+4
source share
1 answer

They connect when the tip is loaded during operation. The nib name contains the name of the class (not a permanent instance); An instance will be created when the pin loads. As part of this, the nib loader will also attach this new instance with any actions that you said should be connected to it.

+3
source

Source: https://habr.com/ru/post/1391963/


All Articles