bug-gnustep
[Top][All Lists]
Advanced

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

[bugs #12158] Custom views in gorm and NSCoding problem


From: Gregory John Casamento
Subject: [bugs #12158] Custom views in gorm and NSCoding problem
Date: Sun, 27 Feb 2005 02:33:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040921

Follow-up Comment #2, bugs #12158 (project gnustep):

Another way to approach this is to use the "CustomView" which doesn't invoke
initWithCoder: when it's unarchived.   The only method which is called in
this case is initWithFrame: (per docs).   

The best way to do this, if you need to be able to inspect the extra
attributes on an instance of the new class is to create a palette, as
described before.  Palettes allow you to write inspectors and editors which
can allow the user to manage the extra attributes.

If you have a Mac, you will find that the same behavior is apparent there as
well, if you use non-keyed coding. :)

Gorm, and IB, use proxy objects to facilitate the use of custom classes which
they don't know about.   Some of this is covered in the Gorm documentation.

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12158>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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