3

I had download Xenofex-MultiColumnTableViewForiOS-0b3fa88 library and plan to use it in my iOS project.

May i know what is step to import and link this library to my project? Just drag and drop the unzipped folder to my project?

I had drag the needed file to my project and try to run it.

The compiler prompt me error below Undefined symbols for architecture i386: "_OBJC_METACLASS_$_CALayer", referenced from: _OBJC_METACLASS_$_EWHeaderHighlightLayer in EWHeaderHighlightLayer.o "_OBJC_CLASS_$_CALayer", referenced from: _OBJC_CLASS_$_EWHeaderHighlightLayer in EWHeaderHighlightLayer.o objc-class-ref in EWMultiColumnTableView.o "_OBJC_CLASS_$_CATransaction", referenced from: objc-class-ref in EWMultiColumnTableView.o "_kCATransactionDisableActions", referenced from: -[EWMultiColumnTableView highlightColumn:] in EWMultiColumnTableView.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anyone advice on this?

4

1 回答 1

12

从链接器错误来看,您需要将 QuartzCore 框架添加到您的项目中。这是实现 CALayer 类的地方,以及其他一些东西。

在这个 SO 问题的最高评价答案中有关于如何执行此操作的说明:Addingquartzcore to xcode 4 for iOS

于 2012-07-10T08:48:25.933 回答