iOS Calendar

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sims
Posts: 43
Joined: Wed Apr 12, 2006 5:36 pm

iOS Calendar

Post by sims » Wed Sep 24, 2014 8:39 am

I've made some changes to the seven day calendar i submitted a few weeks ago and also tied it into Sarah Reichelt's fabulous calendar work.
This is an attempt to make an iOS calendar, it is set to week starting on Monday. Maybe it is interesting to someone.

Comments on this are welcomed.

sims
Attachments
iOS_Cal.livecode.zip
(24.41 KiB) Downloaded 308 times

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: iOS Calendar

Post by jmburnod » Wed Sep 24, 2014 10:06 am

Hi sims,

Thank for sharing.
I played with your stack on simulator. It work well except the editor for the "dayOnly group".
What way do you think choose to store users data ?
files, stack ?

I noticed some moves that create feel confusion.
When you click on cd "month2seven" your script

Code: Select all

 send "mouseUp" to btn "correctDater" of cd "month2seven" in 50 millisec
Although the date has not been changed

Best regards
Jean-Marc
https://alternatic.ch

sims
Posts: 43
Joined: Wed Apr 12, 2006 5:36 pm

Re: iOS Calendar

Post by sims » Wed Sep 24, 2014 10:17 am

" It work well except the editor for the "dayOnly group".
What way do you think choose to store users data ?
files, stack ? "

I left it that way because others might do different things.
Generally i use User Properties a lot, but you could also get data from a server or whatever i suppose.
--
"send "mouseUp" to btn "correctDater" of cd "month2seven" in 50 millisec"

Yes ;-P That was the very last thing i worked on. I have been trying to get it to update and it seems to work here with that 50 millisecs, maybe i should have left it at 250 millisecs like i had it before.
I hate using such a hack but everything else i tried would not work - one attempt put LC into deadly recursion even though i could not see how it was possible. Must go look at that one again. Argh.

Thanks for the feedback!
sims

sims
Posts: 43
Joined: Wed Apr 12, 2006 5:36 pm

Re: iOS Calendar

Post by sims » Wed Sep 24, 2014 10:56 am

My previous reply was:
" It work well except the editor for the "dayOnly group".
What way do you think choose to store users data ?
files, stack ? "

I left it that way because others might do different things.
Generally i use User Properties a lot, but you could also get data from a server or whatever i suppose.
----------------------------------

Note - i should have added that i named each field like this: a06, a07, a08 - so i could then get data and place it into the fld for the correct time (like a07 would be 07:00 for time).
Surely more clever naming can be substituted :-P

sims

sims
Posts: 43
Joined: Wed Apr 12, 2006 5:36 pm

Re: iOS Calendar

Post by sims » Sat Sep 27, 2014 4:22 am

Found a bug where a users date preference causes an issue.
Will squash when i get a chance and repost.

sims

Post Reply