Open kiliankoe opened 10 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.
The setting for a custom update should be removed. It might be better if the user were not be able to play with this.
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.
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.
For the custom stops table: http://www.raywenderlich.com/118835/os-x-nstableview-tutorial
Add a settings window that can be opened by pressing the corresponding settings button in the menu. The user should be able to set:
vz
parameter)Save this stuff in NSUserDefaults.