ios - select week in FScalender in objective c -


i trying select complete week in fscalendarscopemonth

had used fscalender : https://github.com/wenchaod/fscalendar/blob/master/moreusage.md

#pragma mark fscalendar - didselectdate -(void)calendar:(fscalendar *)calendar didselectdate:(nsdate *)date {      if(![date isequal:selecteddate]){          (int =0; i<[weekarray count]; i++) {             [objcal deselectdate:[weekarray objectatindex:i]];         }          weekarray = [self daysthisweek:date];         markdate = date;         selecteddate = [weekarray objectatindex:0];         (int =0; i<[weekarray count]; i++) {             [objcal selectdate:[weekarray objectatindex:i]];         }          nslog(@"monday date week selected ==> %@",[weekarray objectatindex:1]);     } } 


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -