GithubHelp home page GithubHelp logo

yakov1012 / baseproject Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cactus3581/baseproject

0.0 2.0 0.0 36.22 MB

搭建基础框架,封装基础工具

Objective-C 98.47% TeX 1.13% C 0.37% Ruby 0.03%

baseproject's Introduction

BaseProject

  • 搭建基础框架

  • 封装常用工具

  • 架构设计、组件化学习

  • 知识点学习掌握

  • 开发小技巧

  • 供测试代码

  • 效率通用性:可依据此项目,快速搭建新项目

项目结构:共10个文件夹

  1. Appdelegate
    1. Appdelegate:瘦身,优化启动
    2. RootController
  2. BaseClass
    1. ViewModel基类
    2. 网络基类
    3. Model基类
    4. Scroll(主要是TableView及CollectionView)的基类
    5. ViewController的基类
  3. General:这个目录放会被重用的Views/Classes。目前暂时没用到
  4. Helpers:这个目录放一些助手类,文件名与功能挂钩。助手类的主要作用是帮助Controller瘦身,也可以提供一定程度的复用。目前暂时没用到
  5. Macro
    1. Constant:字符串常量,能用Constant的不用Macro
    2. Macro:宏定义的常用方法
      1. 单例宏
      2. 颜色宏
      3. 其他工具宏:BPAppToolMacro
      4. ...
  6. Main:TabBar上的控制器,目前分三个控制器
    1. 场景控制器
    2. 知识点控制器
    3. 小技巧&测试控制器
  7. Resources
    1. 图片资源
    2. Plist文件:重要的目录文件
    3. 国际化文件
  8. Scenes:场景目录
    1. 封装的场景功能
      1. 图片浏览器
      2. 播放器
      3. 弹幕
      4. 日历
      5. ...
    2. 知识点:
      1. 三大事件
      2. 基本UIKit控件使用
      3. 基本数据使用
      4. 设计模式
      5. 重要知识点:
        1. 多线程
        2. 绘图
        3. ...
      6. 其他知识点:
        1. Block
        2. Runtime
        3. ... ...
    3. 小技巧
      1. 小技巧
      2. 测试用
      3. ...
  9. Utility:目的是随时可以拿出整个目录,给其他项目用
    1. 继承类:当需要时继承;不是基类
    2. 工具类
    3. 分类
  10. Vendors:无法通过CocoaPods安装的第三方工具

baseproject's People

Contributors

cactus3581 avatar

Watchers

James Cloos 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.