• 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: Ways in which objects can come into existence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ways in which objects can come into existence


  • Subject: Re: Ways in which objects can come into existence
  • From: Hamish Allan <email@hidden>
  • Date: Fri, 1 Apr 2005 03:31:06 +0100

On Mar 31, 2005, at 18:38, daniel wrote:

How about initWithCoder: ?

Thanks, but I finally worked out what's going on (though please see further questions below): the objects in the array returned by the BookmarkViewController's -bookmarkSources are being created before the InputManager +loads the posing classes. This should have been obvious because they were %WebBookmarkProxy and %WebBookmarkList objects, and if I'd remembered what I read at http://www.cocoadev.com/index.pl?ClassPosing I'd have known that this is the new name for the old class. For future reference I will explain briefly:

Old heirarchy:
WebBookmark -- WebBookmarkProxy

New heirarchy:
WebBookmark -- %WebBookmarkProxy -- WebBookmarkProxy
\- PosingWebBookmarkProxy

%WebBookmarkProxy is the old WebBookmarkProxy class renamed, and WebBookmarkProxy is a new class which just forwards messages to PosingWebBookmarkProxy.

So my next question is, can I get away with updating the class pointers of these existing objects from %WebBookmarkProxy to WebBookmarkProxy, and if so, how do I go about doing it?

Thanks,
Hamish

On Mar 31, 2005, at 4:39 AM, Hamish Allan wrote:
I'm wondering in what other ways these objects could have come into existence? WebBookmarkProxy also defines -(id)initWithTitle:(id)group:(id) and -(id)initFromDictionaryRepresentation:(id) withGroup:(id) but neither of those are being called. Perhaps I'm missing something fundamental about class posing?


 _______________________________________________
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

References: 
 >Ways in which objects can come into existence (From: Hamish Allan <email@hidden>)
 >Re: Ways in which objects can come into existence (From: daniel <email@hidden>)

  • Prev by Date: bindings...
  • Next by Date: A more attractive NSSlider?
  • Previous by thread: Re: Ways in which objects can come into existence
  • Next by thread: "addAttribute:value:range:" error using NSDrawer & NSTextView
  • Index(es):
    • Date
    • Thread