-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift problem #32
Comments
Hi, I just integrate this clases in my swift project. Soon I will upload a translation to swift 3, but in the mean time you can use this: #import <UIKit/UIKit.h> @Class AFKPageFlipper; @protocol AFKPageFlipperDataSource
typedef enum { @interface AFKPageFlipper : UIView {
} @Property (nonatomic,retain) NSObject *dataSource; @Property (nonatomic, retain) UITapGestureRecognizer *tapRecognizer; @Property (nonatomic) NSInteger fixPage; @Property (nonatomic,assign) BOOL disabled;
#import "AFKPageFlipper.h" #pragma mark - @interface UIView(Extended)
@implementation UIView(Extended)
#pragma mark - @interface AFKPageFlipper() @Property (nonatomic,retain) UIView *currentView; @implementation AFKPageFlipper @synthesize tapRecognizer = _tapRecognizer; #pragma mark -
}
#pragma mark -
#pragma mark - @synthesize currentPage;
} @synthesize dataSource;
@synthesize disabled;
#pragma mark -
#pragma mark - /*
#pragma mark -
|
Hi! I have imported this library in my swift project. There is no errors but view does not show anything. Gestures are detected. When i swipe, viewForPage() method is called, but there is no change on the screen.
Can anybody help me?
The text was updated successfully, but these errors were encountered: