Code Monkey home page Code Monkey logo

calendar's People

Contributors

ethan-fang avatar flavionegrao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

calendar's Issues

Wrong class registered in singleMonthViewInFrame

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];

Not Work on IOS6

Thanks for such a nice calendar. But I can't get it to work on ios6.

Any suggestion?

Thanks;

Selecting today issue

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}'

NSRangeException

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

Callback when clicking on an event

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 ios 6

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;

the day cells height is not changing

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?

Get events from iOS default calendar

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.

Add images in cells

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.