todotxt / todo.txt-ios

Official Todo.txt iOS app for managing your todo.txt file stored in Dropbox.
http://todotxt.org
GNU General Public License v3.0
380 stars 109 forks source link

Support adding multiple tasks at once. #179

Closed brendonjustin closed 11 years ago

brendonjustin commented 11 years ago

Tasks are delimited by newlines during entry.

ginatrapani commented 11 years ago

Hey Brendon, Can we get this to work the way the Android app does -- with tasks delimited by a single, not a double, newline?

brendonjustin commented 11 years ago

Sure. Commits and pull request description updated.

ginatrapani commented 11 years ago

Fantastic, thanks! Last q: how difficult will it be to add hint text with line breaks in it to let the user know batch entry is possible? Here's what that looks like on Android:

https://lh5.ggpht.com/9bR41Wie8CRYTLfY_K3w7FRYw5h_u3bZVNDcr7gwfoy35Xd5oq49ssctI2BPqXw28xQ=h900-rw

Can we just add a newline to the placeholders.plist values?

The multi-task hint text rotates between 5 possibilities:

    <string name="tasktexthint0">Draft chapter 1 +Novel @typewriter\nCall literary agent @phone</string>
    <string name="tasktexthint1">Learn to code +SelfEducation\nBuild a killer app @computer</string>
    <string name="tasktexthint2">Take the road less traveled @Woods\nMake all the difference +Life</string>
    <string name="tasktexthint3">Schedule chain mail fitting @castle\nSharpen sword +SelfPreservation</string>
    <string name="tasktexthint4">Complete weekly review +GTD\nAchieve mind like water +GTD</string>
ginatrapani commented 11 years ago

Forget I asked! I just tried it and adding a newline in the plist values (Option+Return) works. I'll do that bit. Thanks again!