Last active
February 8, 2020 22:59
-
-
Save boek/aeb1a6f292438cce9934c2413ca7c73f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension Subreddit { | |
| var data: Data { NSKeyedArchiver.archivedData(withRootObject: self) } | |
| } | |
| let currentSubreddit: Subreddit? = nil | |
| let currentSubredditData = currentSubreddit?.data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment