Start by answering a few questions you might be asked.

1. What’s it written in?

Written in Swift Native, not React Native.

2. Will it open source?

It is not easy to develop, I wanted to sell it for a few yuan in App Store, but I think apple’s certificate is a little too expensive, so I decided to decide according to the vote result at the end of the article.

If it does open source, I hope someone will work with me to improve the app. But in general, I’m afraid PR will not be mentioned, but requirements will probably be mentioned. Ha ha ha ~

3. Aren’t you RN developer? Why do you write macOS?

RN is still working on it, but it doesn’t hurt to learn about Swfit. After all, the new release of SwfitUI is so good that it doesn’t hurt to learn about Swfit first, and it’s also good for RN.

I. Function introduction

Just to get back to the point, EyeSaver is an app that, as the name suggests, regularly reminds us to take care of our eyes. It has the following features:

  • Full screen eye protection reminder
  • Customize reminders
  • Custom working hours
  • Customize rest duration
  • The lock screen automatically pauses the timer
  • Skip the break alert quickly
  • Automatically resume timing after pause
  • Multiple screens display reminders at the same time
  • Remind the interface to suspend the program directly

The core function of the software is very simple, can be approximated as a countdown function, after the end of the countdown to a mandatory full screen reminder.

Ii. Development experience

It’s easy to say, but since IT’s my first time developing a native macOS app using Swift, I did a lot of research. I have to say that there is very little information about macOS development, and I haven’t found a solution to a lot of the problems, probably because there are not many MAC users, so the ecosystem and community is not very good.

After two months of small-scale testing, the software is relatively stable. The runtime memory footprint is also very low, in the low 20s (high for multiple screens), with almost no CPU footprint. Because of the first development, there is no optimization experience, but also hope that experienced friends can make suggestions.

Because the function of the software is relatively simple, so the use method is also very simple, basic start after do not need to tube again. But in order to prevent some functions we are not familiar with, I will still write a tutorial into the public inside, for reference.

Three, download and use

Download address: public account dialog box reply (not article message) : EyeSaver (both case and case)

Screenshot display:

Usage:

  • Download it to your computer and decompress it
  • willEyeSaver.appCopy to the Applications folder
  • Click open

Support system: Theoretically, the software supports macOS from 10.12 to 10.14. However, it has been found in the test that some Mac computers may have some abnormalities, such as the software is running, but the status bar does not display ICONS, etc. At present, we do not know what the problem is, and the subsequent version will solve it.

Problem solving: If the software prompt is damaged, or click no response, you can refer to the following link to solve the problem: (long press copy, open in the browser)

  • www.sdifen.com/Sierraany.h…
  • www.sdifen.com/crashes.htm…

Software updates will be released to the public account, if necessary, can continue to pay attention to the dynamics of the public account. In addition, there are any bugs in the process of use can also be in the public message to me, but be sure to describe the problem clearly.

4. Leave a message to vote (or open the public account to vote)

Do you want EyeSaver to be open source?

  • Reply 1: It’s not easy to develop, I support charging for shelves
  • Reply 2: Hope open source, I will contribute code
  • Reply 3: all ok, anyway good use line

Protect your eyesight. Maybe it works. Try it!