Software Dev

Time (Swift lib)

Time is really confusing when you think about it, especially when you are programming around it. And especially in a mobile app, where the time on the device could be in any timezone and is not guaranteed to be reliable.

I have seen plenty of “time” bugs in my days. I’ve seen time beat some amazing programmers, even leading one of them to question aloud, “What is time?”

This new Swift “Time” library looks like a good shot at simplifying time and restoring sanity.

👉 Introducing Time

I love that the basic classes in this library are Clock and TimeZone. Yesss, that is some simple SOLID goodness!

👉 Time on GitHub

Via iOS Dev Weekly.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.