help-gnustep
[Top][All Lists]
Advanced

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

Re: How To Archive SEL's With Keyed Archiving


From: Sašo Kiselkov
Subject: Re: How To Archive SEL's With Keyed Archiving
Date: Sat, 06 Aug 2005 21:35:29 +0200
User-agent: Internet Messaging Program (IMP) 3.2.5

Quoting Richard Frith-Macdonald <richard@brainstorm.co.uk>:

> On 2005-08-06 11:47:55 +0100 Sa¹o Kiselkov <diablos@manga.sk> 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()
>
>

Of course! Why didn't I think of that! Thanks and sorry for bothering with this
idiotically simple problem.

Best regards
 Saso






reply via email to

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