Re: How To Archive SEL's With Keyed Archiving

Richard Frith-Macdonald <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <cb1a0b2c4f9ab3457d45927ae3a53467@blackbox>
On 2005-08-06 11:47:55 +0100 Sašo Kiselkov <[email protected]> wrote:

> How do I archive a selector (SEL) correctly and portably with keyed archiving?
> There seems to be no `-encodeValueOfObjCType:...' or simmilar methods for 
> keyed
> archives. I know I could just encode the values of the fields of the struct
> objc_selector, but this is only functional with the GNU runtime. A portable
> solution is best. Thanks.

Probably using NSSelectorFromString() and NSStringFromSelector()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.