ming1016 / decoupledemo Goto Github PK
View Code? Open in Web Editor NEW竭尽全力的去解耦的一次实践,封装一个TableView和一些功能组合的控件的Demo
License: MIT License
竭尽全力的去解耦的一次实践,封装一个TableView和一些功能组合的控件的Demo
License: MIT License
我发现在SMStackCell.m文件中
给UILabel设置preferredMaxLayoutWidth,你特意在layoutSubviews中设置它,而不是在label的get方法中设置。请问具体原因是什么?是因为兼容横竖屏吗
if ([keyPath isEqualToString:@"dataSourceRefreshingStatus"]) {
if (self.viewModel.dataSourceRefreshingStatus == SMTableRefreshingStatusRefresh) {
[self refreshData];
} else if (self.viewModel.dataSourceRefreshingStatus == SMTableRefreshingStatusLoadMore) {
[self loadMoreData];
}
}
写的太棒了,好想给你生猴子。
我写了一个瀑布流用来测试这个卡顿监控工具,不知道为什么我的手机已经肉眼可见的非常卡,可是这个工具还没有提示卡顿
看你写了那么多,不明觉厉。
要做解耦,推荐一个库 IGListKit。
看看别人怎么写的。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.