ethan-fang / calendar Goto Github PK
View Code? Open in Web Editor NEWMonthly view calendar for events
License: MIT License
Monthly view calendar for events
License: MIT License
@ethan-fang ,
Any reason you don't have a Podspec file, so people can add DPCalender using CocoaPods?
In singleMonthViewInFrame, I'm pretty sure this snippet should be registering DPCalendarViewWeekDayCellIdentifier instead of DPCalendarViewDayCellIdentifier:
if ([self.monthlyViewDelegate respondsToSelector:@selector(monthlyWeekdayClassClass)]) {
[singleMonthView registerClass:[self.monthlyViewDelegate monthlyWeekdayClassClass]
forCellWithReuseIdentifier:DPCalendarViewDayCellIdentifier];
Hi,
when I set DPCalendarMonthlyViewAttributeStartDayOfWeek to @1 (week starts on Monday), the calendar is corrupt in June 2014 :(
From February to May is everthing OK, but in June I have "weekends" in the middle of the calendar...
could you help me?
Thanks for such a nice calendar. But I can't get it to work on ios6.
Any suggestion?
Thanks;
When I select today button, calendar view is crashed.
When today is 30th of March and you are in Feb or May, if you select 'today' button, app is crashed.
I have got the following error message.
'NSInvalidArgumentException', reason: 'attempt to scroll to invalid index path: <NSIndexPath: 0x99b03c0> {length = 2, path = 0-42}'
Is there any possibility to see by months and by week ??
I am sorry but I couldn't figure out the code to do this but I want to colour whole background of the 'today' cell instead of just a banner at the top of the cell.
Where should I do this change?
Thank you for your time.
I want to stop right swipe when next month is later than the current month and I want also stop left swipe when previous month is earlier than 15 weeks.
How can i do this?
Hi,
I'm trying to integrate DPCalendar into our App but getting allways 'index 5 beyond bounds for empty array' in reloadCurrentView of DPCalendarMonthlyView.
I'm just followed your Readme and did nothing else.
Any idea?
Thx
Thorsten
Hi,
is there a callback function / delegate when a user clicks on an event? I need to different callbacks: one if the user taps on free space on day and one if the user selects an event.
Thanks!
crash in dpcalendarmonthlysinglemonthcell line :
float dayWidth = [dayString boundingRectWithSize:CGSizeMake(CGFLOAT_MAX, self.dayFont.pointSize + 1)
options:NSStringDrawingUsesLineFragmentOrigin
attributes:@{
NSFontAttributeName: [UIFont systemFontOfSize:self.dayFont.pointSize]
} context:stringContext].size.width;
Hi,
when select date it returns previous day.
I'd love to use this component however there's no storyboard support :(
I changed the DPCalendarMonthlyViewAttributeCellHeightDefault from 70 to 20 but the cell height is not changing!
BTW I am using this app on the iPhone 4".
Any help?
First of all thanks a lot for this code. Its very good.
Now I want to sync the calendar events from the default iOS calendar in the system to this DPCalendar.
I am very new to iOS and Objective-C so could you please give me easy instructions on how I can achieve that or get started in terms of connecting to the iOS calendar, create a data source and feeding it to DPCalendar and then able to add custom events from the + button into the data source.
Thank you for your time.
While swiping left or right to change month, I want to show a gap between the calendars.
How can I achieve this?
How would I move the icon from the left upper side to the center of the cell? Is it possible to also add more image icons?
Thanks in advance!
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.