tapku

How to check NSDate against a date in TAPKU calendar

北慕城南 提交于 2020-01-06 16:52:12
问题 I am using core data to store objects for my project.There is a date field in the object .I want to check against the clicked date of the Tapku calendar component for iphone. The date on my object is in the format 2011-01-10 and it is a localized date . How can i check the date against the date returned from the tapku calendar control. 回答1: Yes you can, here is what I did to make it work: on the method: (NSArray*)calendarMonthView:(TKCalendarMonthView *)monthView marksFromDate:(NSDate *

Tapku library -what is the date format in day view

血红的双手。 提交于 2019-12-25 18:42:19
问题 I am using Tapku library in my application. While displaying day view, I am getting the startDate and endDate values from my server. What is the date format used in Tapku library? 回答1: format for tapku library is- [YYYY-MM-DD hour:minute:second] e.g. @"2011-01-01 00:00:00 +0000" for more info visit this Link- tapku Library 来源: https://stackoverflow.com/questions/14848719/tapku-library-what-is-the-date-format-in-day-view

Tapku Calendar integration errors

独自空忆成欢 提交于 2019-12-25 01:37:07
问题 I am working with a project and in that I want to integrateing a tapku calendar . I followed all the steps and integrated the calendar. But unfortunately I am getting the error due to which my build is failing again and again. The error is as below: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_TKCalendarMonthView", referenced from: objc-class-ref in habitstatisticsViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1

How to select multiple dates in TapKu library?

孤街浪徒 提交于 2019-12-21 06:05:11
问题 I would like to show the multiple selected dates in tapkilibrary .like highlight the dates between 14aug2011 to 18aug2011 . 回答1: -(NSArray*)calendarMonthView:(TKCalendarMonthView *)monthView marksFromDate:(NSDate *)startDate toDate:(NSDate *)lastDate{ NSLog(@"Date Selected is %@",date); //txtbdate.text=date; NSDateFormatter *timeFormat = [[[NSDateFormatter alloc] init] autorelease]; NSTimeZone *gmt = [NSTimeZone timeZoneWithAbbreviation:@"GMT"]; [timeFormat setDateFormat:@"yyyy-MM-dd"];

Xcode cannot import tapku or kal library

别说谁变了你拦得住时间么 提交于 2019-12-19 04:15:05
问题 I am having trouble importing the tapku library (to use the calendar api it provides). I've also tried Kal with the same problem. Here's what I do to import it (please tell me if I'm missing something) (using Xcode 4.5). Go file > Add files to project > TapkuLibrary.xcodeproj > copy items into destination's group folder unchecked, Create folder references selected, add to target "my project" checked. Go file > Add files to project > TapkuLibrary.bundle > same settings as above. Under build

How to set marker on particular date in Tapku calender

孤人 提交于 2019-12-12 05:13:20
问题 In my application i use Tapku calendar to display a date in calender. I want to display particular date in calendar like, I have date 2012-11-01 than Marker comes on 2012-11-01 in calender. Please suggest me How can i do that with Tapku caleder. 回答1: - (NSArray*) calendarMonthView:(TKCalendarMonthView*)monthView marksFromDate:(NSDate*)startDate toDate:(NSDate*)lastDate { [self generateRandomDataForStartDate:startDate endDate:lastDate]; return dataArray; } - (void)

Tapku calendar Add Events

可紊 提交于 2019-12-10 23:29:09
问题 I am using Tapku library in my app. It works fine for me.. but my point is How can I add different Images on different Events on Calendar. Thanks In Advance 回答1: You can open the bundle of tapku library which contains images and you can replace the images. 回答2: The images are found at: " TapkuLibrary.bundle/Images/calendar/Month Calendar Today " or you could make the path point to one of your own images. self.selectedImageView.image = [UIImage imageWithContentsOfFile:TKBUNDLE(@"TapkuLibrary

iOS: Make Tapku calendar library tiles grid size to 6x6 always

橙三吉。 提交于 2019-12-10 12:04:40
问题 I noticed that Tapku calendar grid resized between 5x5 and 6x6 depending on the month's dates distribution. For example it displays 5x5 grid for March 2012 and displays 6x6 grid for September 2012! For me it makes GUI alignments go wrong so I want grid to be always 6x6. I have been looking into TKCalenderMonthView's rangeOfDatesInMonthGrid method but not getting how it creates the grid! Could anyone please tell me how to fix the grid 6x6 always. Thanks. 回答1: Solution to 2nd Point.If you want

How to select multiple dates in TapKu library?

泄露秘密 提交于 2019-12-03 21:00:45
I would like to show the multiple selected dates in tapkilibrary .like highlight the dates between 14aug2011 to 18aug2011 . -(NSArray*)calendarMonthView:(TKCalendarMonthView *)monthView marksFromDate:(NSDate *)startDate toDate:(NSDate *)lastDate{ NSLog(@"Date Selected is %@",date); //txtbdate.text=date; NSDateFormatter *timeFormat = [[[NSDateFormatter alloc] init] autorelease]; NSTimeZone *gmt = [NSTimeZone timeZoneWithAbbreviation:@"GMT"]; [timeFormat setDateFormat:@"yyyy-MM-dd"]; [timeFormat setTimeZone:gmt]; //[timeFormat setLocale:[NSLocale currentLocale]]; //[timeFormat setTimeZone:

iOS: Tapku calendar library - allow selecting multiple dates for current month

假装没事ソ 提交于 2019-11-30 07:41:29
问题 I am using Tapku library for calendar implementation. I could see that there is a way to add Markers for predefined start and end date but I want to allow users to select/unselect any number of dates from current month only , and want to generate event for each action. Moreover, I have switched off the month navigation functionality by returning nil for Left and Right arrow to display only current month but not able to remove events for few previous and next months Date tiles that gets