Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a user I want to start a timer on one of the tasks listed on the Watch #25

Open
4 tasks done
sohilpandya opened this issue Dec 13, 2016 · 4 comments
Open
4 tasks done
Assignees
Labels

Comments

@sohilpandya
Copy link
Member

sohilpandya commented Dec 13, 2016

Now that we've managed to get a list of tasks on the watch, the next step is to add the ability to start a timer when a user selects a specific task. (#21)

  • Change the layout of the rows so that we have an add icon for each task
  • When a user selects the add icon it should
    • start a timer in the background
    • change the icon to a stop icon
@sohilpandya
Copy link
Member Author

It turns out WKInterfaceLabel! only contains setter types. Hence it is not possible to get the current value of the WKInterfaceLabel. -> http://stackoverflow.com/questions/27456160/retrive-the-text-of-wkinterfacelabel-in-swift
😢

@sohilpandya
Copy link
Member Author

sohilpandya commented Dec 13, 2016

Initial research and potential issues with using NSTimer Timer Class doesn't run continuously on the Apple watch if the watch screen turns off! Best to use the WKInterfaceTimer Class instead.

@sohilpandya
Copy link
Member Author

sohilpandya commented Dec 13, 2016

I've been trying to implement a timer which would start/stop when the user selects a row and come across the issues mentioned in the comment above.

My question is what is potential UI of the apple watch app going to be? Do we want them to be able to do everything from one screen?

  • view list of all tasks
  • start/stop timer

If so then I'll need to do some research on the following:

  1. Ability to add multiple items in a row for a table, so that we can add the timer for each task in the row. (at the moment I've only been able to add elements horizontally and not vertically. 😞)
  2. Add a timer but have it hidden, so it doesn't show at all.
  3. Alternative We could make it so that when the user selects a task on the apple watch, it will start the timer on the iPhone and when they stop the timer on the apple watch, it stops the timer and appends the time on the iPhone totalTimer Column for the given task?

@sohilpandya
Copy link
Member Author

sohilpandya commented Dec 13, 2016

To answer my own question on vertically stacking in a table row (1):
here

  • It is not possible with the current version to stack elements vertically on the Watch. 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant