• Frank Tyger

    Doing what you like is freedom. Liking what you do is happiness.


Company trip

Every year, our company organizes travel for employees.
This year tourist destination is the beach of Phan Thiet at resort 4 star.

Read more →

Sharing Data Between Apple Watch and iPhone in Swift

There are various ways to persist data in the Apple ecosystem. They range from simple to complex, depending on the type and amount of data saved. On the more complex end of the spectrum, you have SQLite for traditional relational data storage, Core Data for modern object persistance, and iCloud for device synchronization. In the middle, you have NSCoder and NSKeyedArchiver for serializing classes to local document files. And finally, you have the simplest type of storage, which is NSUserDefaults that allows you to store simple things like strings and numbers. In this post, I’d like to focus on NSUserDefaults and how to share it between devices.

Read more →