Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jinht committed Feb 27, 2017
1 parent 36d3eed commit 29693e8
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
3 changes: 3 additions & 0 deletions JhtGuidePages/AppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 2,9 @@
// AppDelegate.h
// JhtGuidePages
//
// GitHub主页: https://github.com/jinht
// CSDN博客: http://blog.csdn.net/anticipate91
//
// Created by Jht on 2016/11/28.
// Copyright © 2016年 Jht. All rights reserved.
//
Expand Down
15 changes: 9 additions & 6 deletions JhtGuidePages/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 2,9 @@
// AppDelegate.m
// JhtGuidePages
//
// GitHub主页: https://github.com/jinht
// CSDN博客: http://blog.csdn.net/anticipate91
//
// Created by Jht on 2016/11/28.
// Copyright © 2016年 Jht. All rights reserved.
//
Expand Down Expand Up @@ -44,13 47,13 @@ - (void)createGuideVC {

// NO.3
// case 1
UIButton *enterButton = [[UIButton alloc] init];
[enterButton setTitle:@"点击进入" forState:UIControlStateNormal];
[enterButton setBackgroundColor:[UIColor purpleColor]];
enterButton.layer.cornerRadius = 8.0;
// UIButton *enterButton = [[UIButton alloc] init];
// [enterButton setTitle:@"点击进入" forState:UIControlStateNormal];
// [enterButton setBackgroundColor:[UIColor purpleColor]];
// enterButton.layer.cornerRadius = 8.0;
// case 2
// UIButton *enterButton = [[UIButton alloc] initWithFrame:CGRectMake((CGRectGetWidth([UIScreen mainScreen].bounds) - 100) / 2, CGRectGetHeight([UIScreen mainScreen].bounds) - 30 - 50, 100, 30)];
// [enterButton setBackgroundImage:[UIImage imageNamed:@"enter_btn"] forState:UIControlStateNormal];
UIButton *enterButton = [[UIButton alloc] initWithFrame:CGRectMake((CGRectGetWidth([UIScreen mainScreen].bounds) - 100) / 2, CGRectGetHeight([UIScreen mainScreen].bounds) - 30 - 50, 100, 30)];
[enterButton setBackgroundImage:[UIImage imageNamed:@"enter_btn"] forState:UIControlStateNormal];

self.introductionView = [[JhtGradientGuidePageVC alloc] initWithCoverImageNames:coverImageNames withBackgroundImageNames:backgroundImageNames withEnterButton:enterButton];

Expand Down
6 changes: 3 additions & 3 deletions JhtGuidePages/JhtGuidePagesSDK/JhtGradientGuidePageVC.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 20,7 @@ typedef void (^DidClickedEnter)();
/** 是否添加<跳过>按钮(默认不需要) */
@property (nonatomic, assign) BOOL isNeedSkipButton;
/** <跳过>按钮背景图片名(动态获取图片大小) */
@property (nonatomic, copy) NSString *skipButtonBackgroundImageName;
@property (nonatomic, strong) NSString *skipButtonBackgroundImageName;

/** 背景图片名数组 */
@property (nonatomic, strong) NSArray *backgroundImageNames;
Expand All @@ -32,12 32,12 @@ typedef void (^DidClickedEnter)();
/** 滑动到最后一张图片后出现的<Enter>按钮 */
@property (nonatomic, strong) UIButton *enterButton;
/** 点击<Enter>按钮触发方法 */
@property (nonatomic, copy) DidClickedEnter didClickedEnter;
@property (nonatomic, strong) DidClickedEnter didClickedEnter;

/** 引导页退出切换动画类型(不传值为不添加切换动画,默认不添加动画)
* @"fade"(建议使用) || @"moveIn" || @"push" || @"reveal"
*/
@property (nonatomic, copy) NSString *exitAnimationType;
@property (nonatomic, strong) NSString *exitAnimationType;

/** 是否隐藏pageControl(默认不隐藏) */
@property (nonatomic, assign) BOOL isHiddenPageControl;
Expand Down
Binary file modified JhtGuidePages/JhtGuidePagesSDK/JhtGuidePagesSDK.a
Binary file not shown.
6 changes: 3 additions & 3 deletions JhtGuidePagesSDK/JhtGradientGuidePageVC.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 20,7 @@ typedef void (^DidClickedEnter)();
/** 是否添加<跳过>按钮(默认不需要) */
@property (nonatomic, assign) BOOL isNeedSkipButton;
/** <跳过>按钮背景图片名(动态获取图片大小) */
@property (nonatomic, copy) NSString *skipButtonBackgroundImageName;
@property (nonatomic, strong) NSString *skipButtonBackgroundImageName;

/** 背景图片名数组 */
@property (nonatomic, strong) NSArray *backgroundImageNames;
Expand All @@ -32,12 32,12 @@ typedef void (^DidClickedEnter)();
/** 滑动到最后一张图片后出现的<Enter>按钮 */
@property (nonatomic, strong) UIButton *enterButton;
/** 点击<Enter>按钮触发方法 */
@property (nonatomic, copy) DidClickedEnter didClickedEnter;
@property (nonatomic, strong) DidClickedEnter didClickedEnter;

/** 引导页退出切换动画类型(不传值为不添加切换动画,默认不添加动画)
* @"fade"(建议使用) || @"moveIn" || @"push" || @"reveal"
*/
@property (nonatomic, copy) NSString *exitAnimationType;
@property (nonatomic, strong) NSString *exitAnimationType;

/** 是否隐藏pageControl(默认不隐藏) */
@property (nonatomic, assign) BOOL isHiddenPageControl;
Expand Down
Binary file modified JhtGuidePagesSDK/JhtGuidePagesSDK.a
Binary file not shown.

0 comments on commit 29693e8

Please sign in to comment.