Giter Site home page Giter Site logo

notjuhao's Introduction

NotJuhao

NotJuhao,这个项目是我花了10天时间从零打造的一个设计。
它,很优美,可以让现有的ViewController 的XIB融入到安全区域内进行开发。
这次推出的设计名为 LQSBoX 设计。核心就只有两个类,。。。,其实只有一个,那就是LQSBoxController。
你可以把LQSBoxController看成一个容器,然后里面内置了 LQSBoxView,用来加载其他内容。
LQSBoxController 所携带的 boxView,你理解为 安全区域即可。
box 再加载其他内容,比如 ViewController 的View,反正是View 类型就行了。
在本项目中,你可以看到更多的使用,很美妙、很简单。
我推荐创建 UIViewController 时,也创建 XIB,我不建议。我更加偏向 UIView + XIB 加入到其他使用,大大加强复用性。
本项目中,你会看到 Common 前缀的组件,其实是我在开发过程中快速布局所产生的出来的。
由于有很多没有完善的地方,所以我就不公开献丑了,最初是用 Masonry 进行内部布局的,后来改用了 frame布局。
实际上我倾向推荐大框架采用 frame 布局,精细到 某个View 用 Masonry 布局。
以上只是我的胡说八道。
谢谢游览我的项目。
这个项目是一个半成品来的,没有连接API。
只是用来测试 LQSBox的设计。
由于采用真实项目开发的态度,所以这个项目拿去修改一下还是可以用的。
不过我更加喜欢你从中学习到的是,我的编程设计**。
因为我不是很善于表述,所以看代码就能理解我的话吧。。。。大概~~~~
啦啦啦~~~~~

notjuhao's People

Contributors

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