I'm implementing the GestureDetector Library (2.30) in my B4i project. However, on compile, I get this as part of an error message:
In file included from /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.m:2:
/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.h:21:9: fatal error: 'GestureDetector.h' file not found
#import "GestureDetector.h"
Hi, Added a small project with examples. There are simple ones, you need to hook up them per your needs. This is a wrapper of UIGestureRecognizer. All the gesture are supported: Tap, LongPress, Swipe, Pinch, Rotation, Pan, Screen Edge Pan. See attached example. All the info in the project...
Let me back up a bit. In the B4A version of my app, I've used the GestureDetector library that ships with B4A. Works great. For the B4i version, since it never had the identical library, I used the GestureRecognizer class, which worked great also. But in B4i (Ver 8.00) I suddenly had a problem with the PAN gesture. While debugging, I happened to see that GestureDetector is now an included library, so I've tried to implement that instead since it looks the same as in B4A. Compiling gave me the error I posted above. Is GestureDetector in fact NOT shipped with B4i 8.00?
Hi, Added a small project with examples. There are simple ones, you need to hook up them per your needs. This is a wrapper of UIGestureRecognizer. All the gesture are supported: Tap, LongPress, Swipe, Pinch, Rotation, Pan, Screen Edge Pan. See attached example. All the info in the project...
Thanks! In fact, I have been using GestureRecognizer, but yesterday saw that B4i (8.00) now included GestureDetector, so am trying to implement that. See post just above. Am I wrong about B4i including GestureDetector?
Thanks Alexander! I won't go down this rabbit hole any further ?. But then why does GestureDetector appear as a checkbox in my B4i Libraries list? You don't have it on yours?
Hi, Added a small project with examples. There are simple ones, you need to hook up them per your needs. This is a wrapper of UIGestureRecognizer. All the gesture are supported: Tap, LongPress, Swipe, Pinch, Rotation, Pan, Screen Edge Pan. See attached example. All the info in the project...
I think you were wrong to copy the version. For B4I there is no version 2.30. So you have copied the version for B4A and therefore it does not find the files.
I think you were wrong to copy the version. For B4I there is no version 2.30. So you have copied the version for B4A and therefore it does not find the files.