Re: Inserting a custom class into class hierarchy?
Re: Inserting a custom class into class hierarchy?
- Subject: Re: Inserting a custom class into class hierarchy?
- From: The Karl Adam <email@hidden>
- Date: Sat, 4 Dec 2004 07:53:20 -0500
hmm, according to the docs you are correct, the subclass cannot add
any instance variables, so you'd have to use the poseAsClass in
addition to the CustomIvarStruct or an NSHashMap, but however you
handle your added instance data, it iwould have to be external to the
MyObject class.
-Karl
On Sat, 4 Dec 2004 08:58:37 +0100, M. Uli Kusterer
<email@hidden> wrote:
> At 18:38 Uhr -0500 03.12.2004, The Karl Adam wrote:
> >Add a poseAsClass to your MyObject to have it pose as NSObject,
> >however be forewarned that you then need to make sure your app doesn't
> >explode, the world doesn't end and you didn't tear a hole in the space
> >time continuum. All that said:
>
> Didn't poseAsClass: have the requirement that you don't add any
> instance variables to your subclass?
> --
> Cheers,
> M. Uli Kusterer
> ------------------------------------------------------------
> "The Witnesses of TeachText are everywhere..."
> http://www.zathras.de
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden