luoyuant / mofspickermanagerdemo Goto Github PK
View Code? Open in Web Editor NEWiOS PickerView整合,一行代码调用(省市区三级联动+日期选择+普通选择)
License: MIT License
iOS PickerView整合,一行代码调用(省市区三级联动+日期选择+普通选择)
License: MIT License
Hello Sir. I'm Graphics Designer. I'm happy to see an open source project, So, I want provide a logo for you. Would you mind if I propose a new logo design for your project as my open source contribution?
Thanks before
如果在多个页面,这个tag是乎不管用?
由于在多个页面会用到PickeView控件,但是貌似那个ShowTag的记录并不是很管用,无法实现控件联动效应?
想通过tag的记录值,来实现多个页面选择时,无法联动。。。。
日期选择器:除了默认的那个模式,其他的模式选中的日期都是晚一天,怎么回事?
为嘛第一次选择没有分割线,只有第二次弹出才会显示
commitBlock 和 cancelBlock 能在点击确定和取消后,内部主动置为空吗
不然 block 里面引用的东西会被强引用无法释放,都要用 __weak 修饰,很繁琐
谢谢
求帮组
[[MOFSPickerManager shareManger] showDatePickerWithTag:0 firstDate:[NSDate date] minDate:nil maxDate:nil datePickerMode:UIDatePickerModeDateAndTime commitBlock:^(NSDate * _Nonnull date) {
MyLog(@"选中的日期:%@",date);
} cancelBlock:nil];
显示的Time时间总是比选中的时间多4个小时
请问设置了最大到最小时间,其余的时间可以不显示么
首先,非常感谢作者的开源精神和两次邮件的耐心回复,第一个问题可能描述的不准确,不是用户选择之后的默认选中,而是后台拉到用户地址数据,打开直接选中那个省市区。建议把遍历过程放到MOFSAddressPickerView中,封装性可能更好些!另外看到简书上有抱怨地址不是Json数据的,建议亲自动手改造一下,过程其实也不复杂,只需持久化保存创建的省市区模型,然后取出数据即可,毕竟每个公司采用的城市编码可能是私有的,数据模型结构有所不同等等。
如题
比如
<district name="夏县" zipcode=" 140828" />
<city name="抚顺市" zipcode=" 210400">
有1个空格的和2个空格的
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.