MySVC
an open source UNIX framework for shell script based web services provider
»Home
»Tools
»Man Page
»User Guide
»ChangeLog
»Installation
»Source Code
»Downloads
»FAQ
»Support
»License

»My Apps

Icon.png

Features

If you often get bar for coffee with the same group of friends for breakfast or after launch, the PayCoffee app answer to the question: Who pays the coffees today?

The logic is simple:

  • for each coffee you get you lose one credit

  • for each coffe you pay you get one credit

  • among those who get the coffee, the app evaluate, for paying the coffees, who has the lower number of credits or with the same credits but older last payment date

  • a random choice is made if credits and last payment date are the same

Note that if you get a coffee and you pay N coffees, including your own coffee, then you get (N-1) credits.

You can always select manually who pays the coffees.

Usage

The usage is simple:

  • add new names to the list with + left button

  • select/unselect who get a coffee with a single tap on related list entries

  • to get who pays the coffees press the central coffee button or shake the iOS device, confirming with OK button the app selection or using Cancel to not confirm

  • to select manually who pays the coffees use a double tap on related list entry, confirming with OK button

  • to edit or to export/import the list use the Edit button

After app install you can learn its usage with the four default example entries, deleting them when you finished before creating your own list.

Interface

The user interface of PayCoffee app contains only one screen with:

  • a list of names with related credits and last payment date

  • a bottom toolbar having three buttons:

    • the first one (+) to add a new person to the list, each idenfied by a unique name and having on the left a colored coin icon:

      • yellow if the number of credits is equal to zero (the default value when add a new person to the list)

      • red if the number of credits is less than zero

      • green if the number of credits is greater than zero

    • the second one to evaluate who pay the coffees after selecting who get a coffee

    • the third one, a checkbox, to select/unselect all names of the list

  • an Edit button on the top right to remove a person from the list or manually sort the list

  • an action button on the top left, to use when Edit is selected, in order to:

    • export current list by email (as CSV attachment text file with <name>;<credits>;<date=YYYY-MM-DD> entries)

    • export current list to clipboard for copy & paste (as CSV text with <name>;<credits>;<date=YYYY-MM-DD> entries)

    • import current list from clipboard for copy & paste (as CSV text with <name>[;<credits>[;<date=YYYY-MM-DD>]] entries having optional <credits> and <date>)

    • automatically sort the list by credits and last payment date

For export/import through copy & paste you could use, for example, the predefined Notes app on iOS device.

Example

With the predefined list on app install:

  • Tony has 3 credits and last payment date is 2012-10-28

  • Peter has 0 credits

  • Phil has -2 credits and last payment date is 2012-10-18

  • Mike has 3 credits and last payment date is 2012-10-21

If today is 2012-10-29, all get a coffee and you select Peter manually for paying the 4 coffees you get:

  • Tony has 2 credits and last payment date is 2012-10-28

  • Peter has 3 credits and last payment date is 2012-10-29

  • Phil has -3 credits and last payment date is 2012-10-18

  • Mike has 2 credits and last payment date is 2012-10-21

If tomorrow is 2012-10-30, only Tony, Peter and Mike get a coffee and you confirm Mike for paying the coffees (evaluated by the app because has the same 2 credits of Tony but its payment date is older) you get:

  • Tony has 1 credits and last payment date is 2012-10-28

  • Peter has 2 credits and last payment date is 2012-10-29

  • Phil has -3 credits and last payment date is 2012-10-18

  • Mike has 4 credits and last payment date is 2012-10-30

If you export this list you get:

Tony;1;2012-10-28
Peter;2;2012-10-29
Phil;-3;2012-10-18
Make;4;2012-10-38

Support