|
@@ -109,7 +109,8 @@ static NSString * const kKMWelcomeRemindMeLaterKey = @"WelcomeRemindMeLaterKey";
|
|
[super awakeFromNib];
|
|
[super awakeFromNib];
|
|
|
|
|
|
NSClipView *clipView = self.scrollView.contentView;
|
|
NSClipView *clipView = self.scrollView.contentView;
|
|
- self.contentViews = @[self.content1View,self.content2View,self.content3View,self.content4View,self.content5View];
|
|
|
|
|
|
+ // ,self.content4View
|
|
|
|
+ self.contentViews = @[self.content1View,self.content2View,self.content3View,self.content5View];
|
|
for (int i=0; i<self.contentViews.count; i++) {
|
|
for (int i=0; i<self.contentViews.count; i++) {
|
|
NSView *view = self.contentViews[i];
|
|
NSView *view = self.contentViews[i];
|
|
view.frame = CGRectMake(i*clipView.bounds.size.width, 0,
|
|
view.frame = CGRectMake(i*clipView.bounds.size.width, 0,
|
|
@@ -214,9 +215,10 @@ static NSString * const kKMWelcomeRemindMeLaterKey = @"WelcomeRemindMeLaterKey";
|
|
self.signUpButtonVC.action = @selector(signUpButtonAction:);
|
|
self.signUpButtonVC.action = @selector(signUpButtonAction:);
|
|
[self.signUpButtonVC buttonWithType:TokenButtonTypeCta size:TokenButtonSizeL height:[[NSLayoutConstraint alloc] init]];
|
|
[self.signUpButtonVC buttonWithType:TokenButtonTypeCta size:TokenButtonSizeL height:[[NSLayoutConstraint alloc] init]];
|
|
|
|
|
|
|
|
+ // , self.pageIndicator5
|
|
for (TCPageIndicator *pageindicator in @[self.pageIndicator1, self.pageIndicator2, self.pageIndicator3,
|
|
for (TCPageIndicator *pageindicator in @[self.pageIndicator1, self.pageIndicator2, self.pageIndicator3,
|
|
- self.pageIndicator4, self.pageIndicator5]) {
|
|
|
|
- pageindicator.numberOfPages = 5;
|
|
|
|
|
|
+ self.pageIndicator4]) {
|
|
|
|
+ pageindicator.numberOfPages = 4;
|
|
pageindicator.selectedColor = [NSColor colorWithRed:39/255.f green:60/255.f blue:98/255.f alpha:1.f];
|
|
pageindicator.selectedColor = [NSColor colorWithRed:39/255.f green:60/255.f blue:98/255.f alpha:1.f];
|
|
pageindicator.normalColor = [NSColor colorWithRed:0/255.f green:0/255.f blue:0/255.f alpha:0.2];
|
|
pageindicator.normalColor = [NSColor colorWithRed:0/255.f green:0/255.f blue:0/255.f alpha:0.2];
|
|
pageindicator.pageIndicatorSize = NSMakeSize(6, 6);
|
|
pageindicator.pageIndicatorSize = NSMakeSize(6, 6);
|