GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CharlinFeng/CoreNewFeatureVC: 版本新特性

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
CoreNewFeatureVC.xcodeproj
CoreNewFeatureVC.xcodeproj
 
 
CoreNewFeatureVC
CoreNewFeatureVC
 
 
CoreNewFeatureVCTests
CoreNewFeatureVCTests
 
 
README.md
README.md
 
 

Repository files navigation

快速集成版本新特性



####框架特性:

1.封装并简化了版本新特性启动视图!
2.添加了版本的本地缓存功能
3.集成简单,使用方便,没有耦合度
4.支持block回调。



####重要代码:
//判断是否需要显示:(内部已经考虑版本及本地版本缓存) BOOL canShow = [CoreNewFeatureVC canShowNewFeature];

//测试代码,正式版本应该删除
canShow = YES;

if(canShow){
    
    NewFeatureModel *m1 = [NewFeatureModel model:[UIImage imageNamed:@"f1"]];
    
    NewFeatureModel *m2 = [NewFeatureModel model:[UIImage imageNamed:@"f2"]];
    
    NewFeatureModel *m3 = [NewFeatureModel model:[UIImage imageNamed:@"f3"]];
    
    window.rootViewController = [CoreNewFeatureVC newFeatureVCWithModels:@[m1,m2,m3] enterBlock:^{
        NSLog(@"结束回调");
    }];
}else{
    UIViewController *vc = [[UIViewController alloc] init];
    vc.view.backgroundColor = [UIColor brownColor];
    window.rootViewController = vc;
}

About

版本新特性

Resources

Readme
Activity

Stars

171 stars

Watchers

15 watching

Forks

57 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.