Git Product home page Git Product logo

ios-demo-'s Introduction

iOS-Demo-开发中遇到的需求,抽成demo进行分享 (长期更新)

2017 -05-12号更新,新增如下:

  • 多级菜单下拉多选
  • 仿淘宝订单页面,适合新手(tabView的使用)
  • 强大的pdf阅读器
  • 星星级评论(五星好评)
  • pop各种动画的实现
  • 牛逼的二维码扫描框架 可自定义
  • iOS多个异步网络请求,完成后,在做其他操作(比如结束刷新)

2017 -04-05号更新,新增如下:

  • iOS股票折线图
  • 新增仿京东商品选择器
  • 新增人脸识别
  • 上传照片带照片的定位功能
  • 使用GPUImage实现人脸美白和人脸识别(磨皮,人脸检测)
  • 很好看的瀑布流展示效果图👍
  • 获取设备标识符 UDID IDFA等等
  • iOS中的加密 +加盐
  • 获取设备标识符 UDID IDF等等
  • 横好看的瀑布流效果
  • 使用GPUImage 实现人脸美白和人脸识别
  • 新增上传照片的功能

2017 -03-29号更新,新增如下:

  • 调用相机选择图片
  • 断点下载功能
  • 模仿淘宝购物界面
  • 模仿淘宝选衣服
  • 时间轴
  • 动画贝塞尔曲线
  • 仿新浪微博照片选择器

2017 -03-23号更新,新增如下:

  • MVVM设计模式 控制代码如下 逻辑试图与控制器分开,控制器只干自己的事情
- (void)viewDidLoad {
    [super viewDidLoad];
     self.pageIndex = 1;
    [self.view addSubview:self.tabView];
    [self setupData];
   
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(void)dealloc {
    NSLog(@"%s",__func__);
    NSLog(@"***********------------*************");
    NSLog(@"*******************MVVM使用很多的回掉方法,一定要注意循环引用问题*********************");
    NSLog(@"***********------------*************");
}
-(void)setupData {
    
    __weak typeof(self) weak = self;
   [[LLMVVMViewModel shareViewModel]setupRequsetDate:self.pageIndex :^(id sucess) {
       weak.tabView.modelArr = sucess;
       [weak.tabView.mj_header endRefreshing];
       [weak.tabView.mj_footer endRefreshing];
   } :^(id error) {
       
   }];

}
 /// MARK: ---- 懒加载

-(LLMVVMTabView *)tabView {
         if (_tabView == nil) {
        _tabView = [[LLMVVMTabView alloc]initWithFrame:CGRectMake(0, 0, LLScreenW, LLScreenH ) style:UITableViewStylePlain];
      
             __weak typeof(self) weak = self;

        //tabViewcell的点击跳转方法
       _tabView.block = ^(LLMVVMModel * model) {
            [[LLMVVMViewModel shareViewModel]movieDetailWithPublicModel:model WithViewController:weak];
        };
             
             //下拉刷新方法
             _tabView.blockHeader = ^(NSInteger pageNum) {
                 weak.pageIndex = pageNum;
                 [weak setupData];
             };
             //上拉加载的回掉方法
             _tabView.blockFooter = ^(NSInteger pageNum) {
                 weak.pageIndex = pageNum;
                 [weak setupData];
             };
             
           }
    return _tabView;

}
  • 根据标题宽度来决定一屏现实多少个标题
  • 首页动画较为实用仿工商银行首页
  • tabView旋转90度横向滚动使用

2017 -03-15号更新,新增如下:

  • 小马哥百思不得姐
  • iOS瀑布流
  • 下拉刷新gif图片
  • 侧滑栏

2017 -03-14号更新,新增如下:

  • 时间日历
  • 购物车动画
  • AFN3.0封请求封装 接口并使用YYCache混存到本地
  • 自定义可拖动试图(明哥写)
  • AFN3.0同步网络同步请求的实现使用信号机智,,调用一定要使用异步
  • SDAutoLayout的简单实用,一行代码搞定tabView的行高

ios-demo-'s People

Contributors

lanyuzx avatar

Watchers

 avatar  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.