If you want store data at application level locally , watch this video its help you a lot.
Watch video NSUSERDefaults: How to store local data using xcode 8.2.1 and swift 3.0.1 online, duration hours minute second in high quality that is uploaded to the channel Only programming iOS, swift 30 March 2017. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 405 times and liked it 0 visitors.