Seeking 'beta' testers - MacOS and iOS

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

stam
Posts: 3089
Joined: Sun Jun 04, 2006 9:39 pm

Re: Seeking 'beta' testers - MacOS and iOS

Post by stam » Wed Dec 21, 2022 3:00 pm

Just a quick note to say it does seem to have picked up all events from all calendars - but the 'allDay' column is empty. I'm guessing this is by design?
Great work so far!
screenshot.jpg

Simon Knight
Posts: 919
Joined: Wed Nov 04, 2009 11:41 am

Re: Seeking 'beta' testers - MacOS and iOS

Post by Simon Knight » Wed Dec 21, 2022 4:05 pm

Interestingly, every time I launch a different app, it seems to reset the permissions and I need to grant them again; but once granted, relaunching the same app just works without having to grant permissions again - not sure if that's what you were asking?
Yes thanks. Again I'm not sure what is happening as all the different builds use the same identifier defined in the Livecode standalone settings which make their way through to the apps info.plist files:

Code: Select all

<key>CFBundleIdentifier</key>
<string>com.skids.ReadCalendarEvents</string>
Obviously there is an additional discriminator in play.
it does seem to have picked up all events from all calendars
I think that if any events are returned then it is likely that all events are returned. I wait to be proven wrong ;-)
but the 'allDay' column is empty
All day is a Boolean and the version of the Library used (1.1.54) has had all the references to boolean values removed as Richmond managed to generate an error report that pointed to one of these properties. So yes this is by design and thankfully requesting non-existent values such as alarms does not seem to cause issues.

I noticed in my own calendar with events entered in Big Sur always returned value of "true" for allday even when they had event times set, yet repeating events entered seven years ago accurately report the value of allday. So I suspect that Calendar stopped requiring them and now in Ventura they have been dropped altogether. It wold be so nice if Apple updated the documentation.

I guess that the issue with Livecode not requesting permissions is something to do with Rosetta2 as I'm guessing that Livecode is still an intel app and permissions through Rosetta2 cause problems - thats a WAG.

Drop Box is a bit of a nightmare, so I will make any future updates available from my own website.

Thanks again for all your efforts, I wonder if the recent changes work in Bulgaria.

I don't know if you are up for more testing after the holidays but now the library is working in three MacOS's I would like to add more properties such as attendees. The end stretch goal is to allow the creation and editing of events but I have a feeling that this might be a step to far as this was pretty much my first steps in Objective-C and the FFI.

best wishes and Merry Christmas

Simon
best wishes
Skids

Simon Knight
Posts: 919
Joined: Wed Nov 04, 2009 11:41 am

Re: Seeking 'beta' testers - MacOS and iOS

Post by Simon Knight » Wed Dec 21, 2022 5:53 pm

It wold be so nice if Apple updated the documentation.
On reflection I suspect that the documentation is correct and that my interpretation is in error and that Ventura has tightened up on calls that raise an error. In this case my code tries to read a property directly but the documentation describes a Getter method so my code needs updating to use this method.
best wishes
Skids

Simon Knight
Posts: 919
Joined: Wed Nov 04, 2009 11:41 am

Re: Seeking 'beta' testers - MacOS and iOS

Post by Simon Knight » Wed Dec 21, 2022 8:56 pm

Note:

It seems that Apple restricts the maximum period that events may be returned over to four years maximum.
best wishes
Skids

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10115
Joined: Fri Feb 19, 2010 10:17 am

Re: Seeking 'beta' testers - MacOS and iOS

Post by richmond62 » Sun Dec 25, 2022 5:59 pm

Happy Christmas and here we go-o-o-o-o on MacOS 13.2 with the latest file I downloaded from
your links . . .

Ouch: monkey business again: zip file unzips as a folder called 'Contents'.
-
SShot 2022-12-25 at 18.57.04.png
-
This is also a bit 'unChristmassy':
-
SShot 2022-12-25 at 18.58.33.png
-
And, in heretical tribute to the three Kings, I tried 3 unzip programs, always with the same result.

stam
Posts: 3089
Joined: Sun Jun 04, 2006 9:39 pm

Re: Seeking 'beta' testers - MacOS and iOS

Post by stam » Sun Dec 25, 2022 10:17 pm

Richmond, use the link here :
Simon Knight wrote:
Tue Dec 20, 2022 10:01 pm
So I have put the three apps into one archive, it is 30Mbytes and should be on this link.
https://www.dropbox.com/s/b1bze0youxqak ... e.zip?dl=0

Simon
Don’t navigate anything on the Dropbox page. Just click “Download”. You’ll get a zip with 3 apps inside (or if you’ve set safari to unzip “safe” files, you’ll get a folder with 3 apps). All work fine on M2 Mac with Ventura.

S.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10115
Joined: Fri Feb 19, 2010 10:17 am

Re: Seeking 'beta' testers - MacOS and iOS

Post by richmond62 » Mon Dec 26, 2022 9:35 am

Thank you very much for the link. 8)

The INTEL-only version "works a charm" on my 2018 Intel Mac Mini running MacOS 13.2:
-
SShot 2022-12-26 at 10.36.23.png
-
As does the Intel & ARM version.

Damn Fine Show! :D

Simon Knight
Posts: 919
Joined: Wed Nov 04, 2009 11:41 am

Re: Seeking 'beta' testers - MacOS and iOS

Post by Simon Knight » Mon Dec 26, 2022 9:56 am

Why, many thanks for your kind words ;-)

and thanks for testing on Boxing Day!!!

Simon
best wishes
Skids

Simon Knight
Posts: 919
Joined: Wed Nov 04, 2009 11:41 am

Re: Seeking 'beta' testers - MacOS and iOS

Post by Simon Knight » Mon Dec 26, 2022 10:09 am

Crikey chaps - I've just spotted that you were both working on the files on Christmas Day - thats all very above and beyond.

Thank-you both, I'm not sure I would trust myself with a computer late on Christmas Day hic!

Now I just need to find a better solution than DropBox for hosting files.

Simon
best wishes
Skids

stam
Posts: 3089
Joined: Sun Jun 04, 2006 9:39 pm

Re: Seeking 'beta' testers - MacOS and iOS

Post by stam » Mon Dec 26, 2022 1:15 pm

On-call and on-site anyway, it's a welcome diversion ;)

PS: If you're looking for online hosting with a free tier you could do worse than https://mega.io
I also use https://www.mediafire.com

Both are good for file sharing and offer a free tier (Mega is 20 Gb of free storage and probably more secure; it comes with an app that lets you have a folder in your user folder to mirror the hosted files, uploads etc, just like Dropbox).
S.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10115
Joined: Fri Feb 19, 2010 10:17 am

Re: Seeking 'beta' testers - MacOS and iOS

Post by richmond62 » Mon Dec 26, 2022 1:19 pm

Most of the time with programming I find a spot of 'hic' helps. 8)

Post Reply