Defari
Defari

Reputation: 81

What is the best way to store the state of NSTreeController contents in Swift?

I've built the custom NSOutlineView with NSTreeController, and I faced with the huge complexity of saving its state. Usage of Core Data is too tedious since I have implemented drag and drop support as well.

So my question is more general. What is the best way to save NSTreeController's state? Is it achievable with NSCoding?

Thanks in advance.

Upvotes: 0

Views: 131

Answers (0)

Related Questions