我从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;
答案 0 :(得分:0)
MBCalendarKit需要Quartz,Core Graphics,UIKit和Foundation。单元测试基于XCTest框架构建。 Xcode应该处理除QuartzCore.framework之外的所有内容。如果您正在构建测试,您可能还必须自己链接到XCTest。
除了上面描述的框架依赖项之外,您还需要CalendarKit文件夹中的所有内容。