I’ve been using IOSGestures in some of my iOS Apps until XOJO 2020 Release 1.2
With XOJO 2020 Release 2 I get tons of Compiler errors similar to that:
Issue: Members of inner modules cannot be global
Does anybody have a clue, what might be the reason. Help very appreciated
Hi @Uwe_Merz -
I’ve post an update to https://github.com/sbeardsl/xojoGestures that should bring iOSGestures back online for Xojo 2020 R2+.
Things are still a big messy but the module itself should be ready to go again and both examples compile and run again. I also found and fixed an error with the return values for Pinch and Rotate gestures.
The specific errors you were seeming (“Location: IOSGestures.Foundation.Name
Issue: Members of inner modules cannot be global”) can be cured by
- Click on Settings at the bottom of the left hand column in the IDS
- Look down the list and find “Simple References”
- Make sure it is OFF then Build and you will probably see a lot of API 2.0 type errors.
There is a longer API 2 Updates.txt in the project with some notes but what I had to do to get the examples compiling.
If the module is still useful to you and you give the update a try, please let me know how it goes.
Sorry I didn’t see your comment about the problems until recently, I’m glad that someone is still getting some use out it.
Great to hear, that xojoGestures is still supported by you and yes - your module is still very useful to me - great job !!!
If you do pull the updated version please let me know how it goes.
If there are setup issues I’ll clean up what release to fix them for you.