Is this useful to Swift?
codwam opened this issue · 6 comments
codwam commented
Is this useful to Swift?
johnno1962 commented
No reason it wouldn’t work with a swift based app but it is untested
codwam commented
It builds failed when created a new Swift example and Patch it.
johnno1962 commented
The way it works, you'll need to add dummy(empty) main.m to your pproject
codwam commented
Yes, I add it.
typedef NS_ENUM(int, RMTouchPhase) {
RMTouchBeganDouble = -1,
RMTouchBegan = 0,
RMTouchMoved,
RMTouchStationary,
RMTouchEnded,
RMTouchCancelled,
RMTouchUseScale,
};
It has error.
RemoteCapture.h:27:42: Function definition declared 'typedef'
johnno1962 commented
I’ve pushed a change to fix this. Thanks for the report!
codwam commented
Thanks