قالب وردپرس درنا توس
Home / IOS Development / How do you continue a Swift struct to disk?

How do you continue a Swift struct to disk?




I would like to have my table view data stored and loaded from disk when the user leaves and reinvents the app. I tried to comply with the NSCoding protocol as described here, but then I got a compiler error saying that the non-class types do not match the class protocol "NSCoding". Any guidance will be appreciated.

submitted by / u / refine_and_refine
[comments]
Source link