iOS中的MBCalendar Kit集成

时间:2014-08-25 04:50:57

标签: ios7 calendar uikit mbcalendarkit

我从https://github.com/MosheBerman/MBCalendarKit/blob/master/README.md

获得了日历组件的源代码

我想将其整合到我的应用中。我该怎么做?

我可以导入任何框架等吗?

我尝试将所有文​​件复制到我的Xcode项目中,但它会让应用程序变得沉重!

self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.viewController = [CKDemoViewController new];
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];    
return YES;

1 个答案:

答案 0 :(得分:0)

来自the documentation

  

MBCalendarKit需要Quartz,Core Graphics,UIKit和Foundation。单元测试基于XCTest框架构建。 Xcode应该处理除QuartzCore.framework之外的所有内容。如果您正在构建测试,您可能还必须自己链接到XCTest。

     

除了上面描述的框架依赖项之外,您还需要CalendarKit文件夹中的所有内容。