Roman Desk Clock and Calendar
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Roman Desk Clock and Calendar
Well, it had to be done. So I did it. A Roman Desk Clock and Calendar for iPad and iPhone written in Livecode.
See https://apps.apple.com/gb/app/roman-clo ... 6478309075 to read the blurb on the AppStore.
Apparently the longest date & time this century in Roman numerals is 23:38 on August 28th 2088 which is what it reads on the screenshot. (You can see I plan for the app to be running well into the future). My inspiration for the app icon was the time of day I built the first version for the AppStore.
Al
See https://apps.apple.com/gb/app/roman-clo ... 6478309075 to read the blurb on the AppStore.
Apparently the longest date & time this century in Roman numerals is 23:38 on August 28th 2088 which is what it reads on the screenshot. (You can see I plan for the app to be running well into the future). My inspiration for the app icon was the time of day I built the first version for the AppStore.
Al
Re: Roman Desk Clock and Calendar
Well I contributed
Works well on desktop too... but would be cool if you had a quick tutorial for latin numerals built in
Works well on desktop too... but would be cool if you had a quick tutorial for latin numerals built in
Re: Roman Desk Clock and Calendar
Hi,
I contributed too. It has a nice clean interface and I like the settings panel. I'd like to hear how easy/hard it was to get this onto the App Store.
-Mike
I contributed too. It has a nice clean interface and I like the settings panel. I'd like to hear how easy/hard it was to get this onto the App Store.
-Mike
Re: Roman Desk Clock and Calendar
Wait.. you bought it? You did! Thanks guys… I wasn’t trying for sales here. I just wanted to share that there’s another LiveCode iOS App out there and show some screenshots and images.
As for your suggestion.. I suppose I could add a help page to explain roman numerals… or link to Wikipedia?
There’s an update coming soon. As Roman numerals don’t have zero, midnight displays as just a colon. Technically this is correct, but I’m adding a little logic to show “MEDIA NOX” (Midnight) for the midnight minute instead. Hope you like it. I’ll probably add the Roman Numerals help link or info at the same time.
Cheers, Al.
As for your suggestion.. I suppose I could add a help page to explain roman numerals… or link to Wikipedia?
There’s an update coming soon. As Roman numerals don’t have zero, midnight displays as just a colon. Technically this is correct, but I’m adding a little logic to show “MEDIA NOX” (Midnight) for the midnight minute instead. Hope you like it. I’ll probably add the Roman Numerals help link or info at the same time.
Cheers, Al.
Re: Roman Desk Clock and Calendar
You’re welcome! Was just curious and £0.99 isn’t bank breaking exactly
Might be more work…. But a quick cheat sheet for the basics and a URL to a full reference?
Stam
Re: Roman Desk Clock and Calendar
Hi Mike, it’s not too difficult to get on the AppStore. There’s a process to follow as with most things. I found that following the Livecode lesson helped immensely as long as you can navigate any UI changes in the Apple apps and version of Livecode used in the lesson. https://lessons.livecode.com/m/4069/l/3 ... -app-store
-
- VIP Livecode Opensource Backer
- Posts: 9732
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Roman Desk Clock and Calendar
Hi.
Just curious, how did you implement successive values of the time display? A look-up table that was read second by second? Or perhaps some predefined sequences that can be called as needed?
Craig
Just curious, how did you implement successive values of the time display? A look-up table that was read second by second? Or perhaps some predefined sequences that can be called as needed?
Craig
Re: Roman Desk Clock and Calendar
Hi Craig,
I use the send command to update the clock every minute.
E.g. send “updateClock” to me in 60 seconds
My updateClock command calculates which roman numerals to use and updates the display.
Al.
-
- VIP Livecode Opensource Backer
- Posts: 9732
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Roman Desk Clock and Calendar
That is what I was wondering about. You cannot really "calculate" the required new display, no? So I thought you either had a large look-up table (tedious to build) or some sort of rules-based gadget that determines the next reading based on the previous: (Pseudo)My updateClock command calculates which roman numerals to use
Code: Select all
if char - 3 to -1 of tDisplay = "III" then put "IV" into char -3 to -1 of tDisplay
if char -2 to -1 of tDisplay = "IX" then put "X" into char -2 to -1 of tDisplay
...
Craig
Re: Roman Desk Clock and Calendar
Well you could do it that way but it’s very long winded.
A simpler way is to use a constant with the numerals you need in it.
e.g. kNumerals = “I,II,III,IV,V,VI,VII,VIII,IX,X… etc”
Then select the nth item from the constant for the hours, minutes, etc. So something like 5:08 would give you V and VIII.
Al.
A simpler way is to use a constant with the numerals you need in it.
e.g. kNumerals = “I,II,III,IV,V,VI,VII,VIII,IX,X… etc”
Then select the nth item from the constant for the hours, minutes, etc. So something like 5:08 would give you V and VIII.
Al.
-
- VIP Livecode Opensource Backer
- Posts: 9732
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Roman Desk Clock and Calendar
Ah, Of course.
I was stuck on thinking about a counter, as opposed to simply substituting values minute by minute. Unstuck now...
Craig
I was stuck on thinking about a counter, as opposed to simply substituting values minute by minute. Unstuck now...
Craig
Re: Roman Desk Clock and Calendar
Just uploaded version 1.0.1 to the AppStore with some enhancements for you.
Re: Roman Desk Clock and Calendar
Cool update.
Still works perfectly on MacOS ("but not verified for MacOS").
I hope you may consider uploading this to the Mac App Store as well (easier to update my Mac lol)
Stam
Still works perfectly on MacOS ("but not verified for MacOS").
I hope you may consider uploading this to the Mac App Store as well (easier to update my Mac lol)
Stam