• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inserting a custom class into class hierarchy?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Inserting a custom class into class hierarchy?
      • From: Glenn Andreas <email@hidden>
    • Re: Inserting a custom class into class hierarchy?
      • From: Shaun Wexler <email@hidden>
References: 
 >Re: Inserting a custom class into class hierarchy? (From: Shaun Wexler <email@hidden>)
 >Re: Inserting a custom class into class hierarchy? (From: The Karl Adam <email@hidden>)

  • Prev by Date: Application crash in -[NSViewHierarchyLock lockForWriting]
  • Next by Date: Re: Inserting a custom class into class hierarchy?
  • Previous by thread: Re: Inserting a custom class into class hierarchy?
  • Next by thread: Re: Inserting a custom class into class hierarchy?
  • Index(es):
    • Date
    • Thread