-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Classes #1
Comments
@sammysmallman, I am glad it is useful for you. I didn't want to overcomplicate the sample, but you are right, it is worth adding. For now I can just refer to documentation, see 'Working with Custom Classes' https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingXPCServices.html#//apple_ref/doc/uid/10000172i-SW6-SW7 |
Hey @aronskaya, So i worked it out. The key points are that the class needs to conform to NSSecureCoding and also that you need to have a CodingKeys enum even if your property names are exactly the same.
which can be used in the |
Thanks for the example. Its really nice to see XPC Service in action. I have been attempting to send a custom class across an XPC connection but will little success. I wondered if you have had any success?
The text was updated successfully, but these errors were encountered: