In a previous release of ⭐️ Daily Vibes 📲, version 1.3.0, I added a natural language date parser. What this basically means that if you enter
appointment with my accountant tomorrow at 3 pm
⭐️ Daily Vibes 📲 will understand what you mean. This is all possible because of the wonderful work done on SwiftyChrono. However, I shipped 🚢 it with some pending things that are needed to be taken care of with the library. Figured I would fix it later down the road since it seems to work as expected 😅
This week, I’ve decided to tackle the issues and help updating SwiftyChrono.
So, I began 👀 looking for issues ⛈
One of the issues was narrowed down to be in this area of the code:
It is very easy. Apple has built a nice interaction between Xcode and Safari.
The credit for the following steps to this answer goes to Rakesh Yembaram on stackoverflow.com
1. Open Safari and Enable Developer Menu
- Open Safari
- Enable the Develop menu by going to:
- “Show Develop menu in menu bar”
2. Enable JSContext
Go to Develop menu
Find your simulator or computer agent and enable
- Automatically show web inspector for JSContexts
- Automatically pause connecting to JSContexts
3. Re-run project in Xcode
For my example, I’m just going to simply add
and then I press run on the tests
and I wait until Safari does its the magic:
Thank you for reading and until next time my friend.
⭐️ Download Daily Vibes 🚀