Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

New Calendar View
Started by jjsanchezramirez Jan 06 2016 01:25 PM

1 reply to this topic
corona sdk calendar view new sliding slide swipe swiping
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 18 posts
  • Corona SDK

I was looking for a calendar widget with swipe gestures for a business app and, since I wasn't able to find one, I decided to make one.


This code is adapted from joelwe's Calendar Sample for Corona SDK and Jose Llausas's A Better SlideView for Corona SDK.




It's very easy to use. Simply require the calendar widget and create a new calendar.

-- Get month and year
local date = os.date('*t')
local month = date.month
local year = date.year

-- Create calendar widget
local newSlideView = require('newCalendarView')
local view = newCalendarView.new(month, year)

I hope you find it useful.


You can find the full code here.



[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Contributor

  • 830 posts
  • Corona SDK

I've been looking for a good calendar widget. Corona said they were coming out with one but I have not seen it yet. I'm not sure if I can do it with yours but I want to mark days with the number of jobs I have assigned already. Maybe by color or the number of little marks by the calendar date. This way I can view my schedule and see what days I am free for more work.