haojianzong / jzdatepicker Goto Github PK
View Code? Open in Web Editor NEWA simple horizontal date picker with sticky header.
A simple horizontal date picker with sticky header.
/Users////jzdatepicker/StickyHeaderFlowLayout.m:41: error: NULL_DEREFERENCE
pointer layoutAttributes last assigned on line 40 could be null and is dereferenced by call to addObject: at line 41, column 9
for more info on infer:
http://www.wired.com/2015/06/facebooks-ai-tool-squashing-bugs-now-open/
http://fbinfer.com/
Hi,
I want to let you know that when I set numberOfDays = 0 (in some screens I need to show only 1 date), I got crash. The crash info is :
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'toDate must be after fromDate'
This line in JZDatepicker.m causes the crash:
NSAssert([fromDate compare:toDate] == NSOrderedAscending, @"toDate must be after fromDate");
When I delete it, there's no problem.
I want to load the calendar with 14 days(one week to the past and one week to the future) and I'm using the below code to do it.
This works fine, but when the current date is the month beginning I'm getting crash with the below error.
Attempted to scroll the collection view to an out-of-bounds item (7) when there are only 7 items in section 0
var prevDate = Date()
prevDate.changeDays(by: -7)
datePicker.fillDates(from: prevDate, numberOfDays: 14)
datePicker.selectDate(at: 7)
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.