> 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.

I guess you could encode a string like "objectAtIndex:" and then create
a selector from it when the coder is loaded again. This should be
portable, I think there are methods in NSObject to do this.


-- 
Christopher Armstrong <quineska @AT@ gamebox dot NET>

_______________________________________________
Help-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnustep

Reply via email to