Giter VIP home page Giter VIP logo

jcappworkspace's Introduction

JCAppWorkspace

一个项目框架,展示工程的搭建过程。

workspace结构:

  • JCSystemLayer

    需要被多个app使用的公共模块,封装到framework里。

  • JCSignlePageApp

    一个App,使用了JCSystemLayer的公共模块。

  • JCApp

    另一个App,使用了JCSystemLayer的公共模块。

  • FrameworkProducts

    编译后输出的framework。

####关于Pods中的第三方库 framework和app中只能在一个地方导入pods的lib,我选择在app链入。

  • posfile中直接引入多个xcodeproj
  • pod install后把不需要的workspace删除,仅保留一个workspace,然后把其他工程加入到这个workspace中。
  • 在framework工程的BuildPhases-LinkBinryWithLibraries中讲libPods.a删除。

JCSystemLayer

JCApp

  • 在storyboard中添加对象,分别是带owner的Behavior对象和ViewModel对象。

    通过在storyboard添加对象,使对象关系更直观,且对象生命周期和ViewController生命周期同步。

  • 通过继承Mantle中MTLModel类,使数据对象不用自己去写copying和code协议实现代码。

jcappworkspace's People

Contributors

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