# MCCSframework **Repository Path**: kmyhy/MCCSframework ## Basic Information - **Project Name**: MCCSframework - **Description**: iOS MCCS 框架,实现了 MCCS 设计模式 - **Primary Language**: Objective-C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-07 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MCCSframework #### What is MCCS? Mccs is a new design pattern and app build method. It is extended in the mvc architecture mode. The goal is to address the problem that controller is getting bloated in iOS development. It divides a complex UI interface into several small parts and is managed by different sub-controllers. The main controller manages these sub-controllers. There is now a version of the MCCS architecture implemented with objective-c, called the MCCS framework. After being practical in several projects, it has evolved to version 0.3.6. This framework is still in continuous improvement. #### Archetecture of MCCS The letter 'M' represents the model. Like mvc, mccs is also driven by the model. The first letter 'C' denotes a cell. In mccs, a cell is a view, and a view element is mainly composed of a different cell. The second letter 'C' represents the controller, and a controller manages all the elements that make up the iPhone screen: the navigation bar, the collectionView, and multiple sub-controllers. The last letter 'S' represents the subcontroller, and a subcontroller is responsible for managing a cell or multiple cells. The composition of these cells can be very flexible. They can be the same type of cell or different types of cells. Multiple subcontrollers together make up the main display on the screen. #### Installation source 'https://gitee.com/kmyhy/YHYSpecs.git' ... pod 'MCCSframework' Then you can `pod install` and import .h files like this: #import #import #import ... #### Project settings Go to `Project Targets -> your target -> Build settings`, set 'Enable BitCode' to 'No', and 'Allow Non-modular Includes In Framework Modules' to 'Yes'.