kiliankoe / catchmybus

:bus: DVB info in the OS X menubar
catchmybus.kilian.io
MIT License
21 stars 2 forks source link

Add more options to settings window #1

Open kiliankoe opened 10 years ago

kiliankoe commented 10 years ago

Add a settings window that can be opened by pressing the corresponding settings button in the menu. The user should be able to set:

Save this stuff in NSUserDefaults.

kiliankoe commented 9 years ago

Still unsure about how to make the UI for selecting the stops the user wants, the other settings for number of connections, update time and if notifications are to be displayed are working.

I think I'm going to push this into v0.3 for now.

kiliankoe commented 9 years ago

The setting for a custom update should be removed. It might be better if the user were not be able to play with this.

kiliankoe commented 9 years ago

It might be a good idea to run an update (if possible) once the settings window closes. Once the user will be able to set their own stops and pretimes the menu will have to rebuilt anyways. A 'save' button isn't typical for OS X settings windows, so maybe do this everytime a value in the table is changed?

Running a general update of data from the API will also result in correct data for very weird custom pretimes. Who knows what users want to enter there.

kiliankoe commented 9 years ago

Other idea: Update the data when a new stop is added to the list (once that exists). Better for usability and me than catching a close event of the settings window.

kiliankoe commented 8 years ago

For the custom stops table: http://www.raywenderlich.com/118835/os-x-nstableview-tutorial