Hey Dominic! I use the shared NSUserDefaults (through AppGroups) to retrieve the data stored on the phone. In this case, that’s the Decks. The property “userDecks” just stored dummy data for the sake of simplicity, but in practice I set the Dictionary of Decks into NSUserDefaults on the iOS side, then retrieved it on the Extension and set the contents to that property. Ensure you use the shared UserDefaults on both ends — that is, *not* NSUserDefaults.standardUser.standard().
See this article on how to setup AppGroups.
And thanks, I’m glad you appreciate it! I wrote it up because I couldn’t find any good resources, let me know if you come across something else you think might be lacking a good example :)