gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSClassSwapper leaving dangling pointers?


From: Gregory Casamento
Subject: Re: NSClassSwapper leaving dangling pointers?
Date: Mon, 1 Jul 2013 12:23:46 -0400

Vincent,

In this case the class which IB has linked in (i.e. NSWindow, NSObject, NSView, etc) is loaded, but there is a map which maintains the association between that instance and it's custom class (i.e. the class which it should be instantiated as).

GC


On Mon, Jul 1, 2013 at 11:03 AM, Vincent R. <address@hidden> wrote:
Le 01.07.2013 16:37, Gregory Casamento a écrit :
V
incent,

THats part of the point.  Custom class B is not a class which is

linked into IB via a palette or anything else so it is one which is
defined in source code..  NSClassSwappers job is to swap out the

class which is linked in (i.e. one which is known) with a class which
the user has defined in his or her project.

I was thinking of the case where the nib/xib is loaded inside InterfaceBuilder not during
the loading of the application.



--
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]