Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Tapku library for iPhone?

Tags:

iphone

I just found the Tapku library and would love to use the calendar, but am clueless as to where to start since I am new to iPhone dev. How do I go about presenting the calendar in one of my views?

like image 729
tybro0103 Avatar asked Dec 28 '22 05:12

tybro0103


2 Answers

TKCalendarMonthView *calendar1=[[TKCalendarMonthView alloc] init];
calendar1.delegate = self;
calendar1.dataSource = self;
[calendar1 selectDate:[NSDate date]];
[self.view addSubview:calendar1];

Add this in the .m file where you want to display.

like image 52
Dhara Avatar answered Dec 30 '22 18:12

Dhara


have you looked in the demo project included in the library? i believe it has an example that would be very useful to you, and also, here is the developer documentation gitHub docs that includes the calendar class structure.

like image 25
Jesse Naugher Avatar answered Dec 30 '22 19:12

Jesse Naugher