快速继承搜索界面下拉菜单
ithinkeryz / yzpulldownmenudemo Goto Github PK
View Code? Open in Web Editor NEW快速继承搜索界面下拉菜单
License: MIT License
快速继承搜索界面下拉菜单
License: MIT License
快速继承搜索界面下拉菜单
导致子控制器的dealloc方法也不执行,退出页面第二次打开的时候点击TableView的cell导致崩溃
dimiss执行了,但是并没有移除
外部请求到的所有数据怎么分配到各个childrenController中
发生在这一句代码:
// 获取对应按钮
UIButton *btn = self.menuButtons[col];
'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 9223372036854775807 beyond bounds [0 .. 1]'
button里的imageView会超出分割线,当title字数比较多的时候,同样的字数在5上显示不全,在6s上显示正好,这里要是做个适配就更好了
在YZPullDownMenu.m里setup方法
_observer上一行__weak typeof(self) weakSelf = self;
_observer的回调方法里self改weakSelf
完成
YZPullDownMenu中的setup方法,在通知的回调block中强引用了self,导致self不能释放,也不能移除观察者,当项目中有多个地方使用了YZPullDownMenu时会导致应用崩溃。
自定义的button中有个layoutSubViews,在super的下面,最好加上
if(self.imageView.image == nil) {
return;
}
如果不加,当button没有图片时,文字不会居中,而是紧靠左边!
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.