Giter Site home page Giter Site logo

corenewfeaturevc's Introduction

Charlin出框架的目标:简单、易用、高度封装、绝对解耦!

####CoreNewFeatureVC 版本新特性



示例截图

image




友情提示 MENTION

Charlin(成都)更多原创项目(涵盖了方方面面,看看还有没有你需要的):
首页:https://github.com/nsdictionary
列表:https://github.com/nsdictionary?tab=repositories
成都iOS开发群:163865401(Charlin创建与维护,欢迎加群交流!)



####框架特性:

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



####框架依赖:

.CoreArchive
.Masonry



####重要代码:
//判断是否需要显示:(内部已经考虑版本及本地版本缓存) 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;
}






CoreNewFeatureVC 版本新特性。



版权说明 RIGHTS

作品说明:本框架由iOS开发攻城狮Charlin制作。
作品时间: 2015.04.27 17:00

关于Chariln INTRODUCE

作者简介:Charlin-四川成都华西都市报旗下华西都市网络有限公司技术部iOS工程师!

联系方式 CONTACT

Q Q:1761904945(请注明缘由)
Mail:[email protected]

corenewfeaturevc's People

Contributors

charlinfeng avatar

Watchers

James Cloos avatar xiaonan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.