MBCalendar Kit在iOS中的集成



我从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;

来自文档:

MBCalendarKit需要Quartz、Core Graphics、UIKit和Foundation。单元测试是根据XCTest框架构建的。Xcode应该负责除了QuartzCore.framework之外的所有测试。如果你正在构建测试,你可能也必须自己链接到XCTest。

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

最新更新