1

Here is the link to the github https://github.com/phaibin/Kal

This is what it is suppose to look like enter image description here

However this is what I am getting enter image description here

Here are the codes .h file: #import

@class KalViewController;

@interface Planner_Calendar : UIViewController <UIApplicationDelegate, UITableViewDelegate>{
    KalViewController *kal;
    id dataSource;
}
@property (strong, nonatomic) IBOutlet UIView *calendarView;

@end

.m file:

#import "EventKitDataSource.h"
#import "Kal.h"
#import "NSDate+Convenience.h"
#import <EventKit/EventKit.h>
#import <EventKitUI/EventKitUI.h>

@implementation Planner_Calendar
@synthesize calendarView;

-(void)viewDidLoad{
    kal = [[KalViewController alloc] initWithSelectionMode:KalSelectionModeSingle];
    kal.selectedDate = [NSDate dateStartOfDay:[NSDate date]];

    kal.title = @"NativeCal";
    kal.delegate = self;
    dataSource = [[EventKitDataSource alloc] init];
    kal.dataSource = dataSource;

    [self.calendarView addSubview:kal.view];
}

@end
Malcolm
  • 289
  • 2
  • 9

2 Answers2

1

To fix this problem Add Localizable.strings file to Your Project

you can get this file From Here

To Add it

File ---> Add Files to "your Project name"

enter image description here

the file contain

"CalendarTitle"     = "LLLL yyyy";

if your already have this file , then just add this line of code

if you dont have it its ok

Go to File > New > File. Choose Strings File unders the Resource subsection as shown below:

enter image description here

Click Next, name the file Localizable.strings, then click Save.

write inside it "CalendarTitle" = "LLLL yyyy";

Mina Fawzy
  • 20,852
  • 17
  • 133
  • 156
0

Just have to add localization string to the application and it will solve this problem

Malcolm
  • 289
  • 2
  • 9