How to save UIBezierPath in UserDefaults in swift.

If you want to save BezierPath in user defaults, here is the code you could find helpful.
You might want to do this while creating drawing iOS application where you want to save bezier path for different layers or different images.

Let me know if there is any confusion on this code.

Thank you.

About the Author

Leave a Reply