Summary: Extra NSApplication instance in Gorm Objects pane
(Nib reading issue)
Submitted by: qmathe
Submitted on: Sunday 02/10/2008 at 18:59
Severity: 3 - Normal
Item Group: None
Assigned to: None
Discussion Lock: Any
If you create a nib on Mac OS X with the empty template (and not the
application template), an NSApplication instance is wrongly visible in the
Objects pane of Gorm when reading this nib on GNUstep side. See attached
screenshot. In the screenshot, the first visible object is an NSApplication
instance and the second one is the owner (using ETInspector as custom class).
The owner should be the first object, no NSApplication instance should be
From comparing on both systems, I believe that there's no issue here.
Looking at the Inspector.nib there is an extra instance of Application in the
.nib file (please see attached) also I tried creating a new nib to test if it
happens when creating a new one and it doesn't.
From comparison the contents of the nibs on OS X and on GNUstep look
precisely the same.
However the problem is that I never created this NSApplication instance.
After taking a look at the Nib file in IB. I just realized IB 3 (Leopard) has
a different empty template than previous IB versions. It had confused me
because 'Application' icon was previously used for the file owner and is now
always used for this application proxy. The file owner is just a blue cube
See attached screenshot: emptyIB3.jpg
It isn't really an issue. May be Gorm should follow IB 3 and always include
an NSApplication proxy in gorm files though.