Re: Ways in which objects can come into existence
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