[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How To Archive SEL's With Keyed Archiving
From: |
Richard Frith-Macdonald |
Subject: |
Re: How To Archive SEL's With Keyed Archiving |
Date: |
Sat, 06 Aug 2005 14:29:00 +0100 |
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()