noxt / didatepicker Goto Github PK
View Code? Open in Web Editor NEWYet another datepicker for iOS
License: MIT License
Yet another datepicker for iOS
License: MIT License
Is there a way to set the date picker as unselected initially so that there is no indicator under the first date in the collection view until a date is selected?
if using code like this,there's just a blank white area on the view. What's wrong?
datepicker = [[DIDatepicker alloc]init];
...
...
[self.view addSubView:datepicker];
If we have below line then we can't highlight todays date...
[self.datepicker selectDate:[NSDate date]];
It always appear White text color and white background..
please fix it...
Nothing showing up when added via storyboard
Your work is awesome!! Really like it!!
When the same date gets re-selected, that date doesn't get highlighted again.
Not sure if this is an issue. I am implementing DIDDatepicker in my own TableViewController.
I created a method updateDateSelected that receives the event. In this method i call tableview reloadData method which result in the table is reloaded infinitely causing the date picker to not respond to touches. How do i overcome this?
If the viewcontroller with datePicker is embeded in a navigation controller it doesn't work as it should
Hi, I added Sources to my Swift project, created bridge header. So far I failed to make DIDatepicker work, in the best case it just shows bottom red line but no dates or anything.
I had a view and view controller (UIViewController) which imports UIKit and DIDatepicker. If I use the following code below in viewDidLoad(), I get this:
Here is a demo code:
let testFrame : CGRect = CGRectMake(0,200,320,100)
var testView : DIDatepickerDateView = DIDatepickerDateView(frame: testFrame)
testView.backgroundColor = UIColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
testView.alpha=0.5
self.view.addSubview(testView)
I tried later to add empty view in View controller and assign Class DIDatepicker from GUI. I made outlet for that view and tried to set date:
@IBOutlet weak var datepicker: DIDatepicker!
var todaysDate:NSDate = NSDate()
datepicker.selectDate(todaysDate)
But nothing happens (view stays blank). I also noticed that I can access following methods defined in DIDatepicker.h:
But I cannot access for some reason to other ones from the list:
Can you provide please some minimal Swift demo as a good starting point on how to use DIDatepicker? Does anyone have a problem with DIDatepicker?
I use XCode 6.4, Swift 1.2, OSX Yosemite 10.10.4
Many thanks!
Great Control! Any date to update the warnings also present for Day, Month and Year? Thanks in advance!
Seems something changed with iOS 8. When compiling with the new SDK my dates won't scroll if the gesture is started inside one of the "date sub views".
Has anyone else seen this?
Hi,
I am getting the following warning in the bridging header
"Duplicate interface definition for class 'DIDatepicker'"
Can you please have a look at it?
The DIDatePicker doesn't re-size together with it's super view
Is it possible to fill the datepicker with a custom date range?
For instance, I would like to present a schedule for an event that lasts for 5 days (in a row).
The version on here with the date initialization helpers has not been tagged with a version, so the only way to get it is to manually pull in the files. Can you please tag a new version and update the podspec to point to v0.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.