I’d like one peer in a session to send an array of strings to another, connected peer. Is there a way to convert such an array into NSData or do I need to send the strings one after another?
Thanks very much.
I’d like one peer in a session to send an array of strings to
Share
An
NSArrayofNSStringobjects is a property list. You can convert it to anNSDatalike this:You can convert the data back to a property list like this: