我使用本教程:http://sonnyparlin.com/2011/12/pulltorefresh-ios-5-and-arc-tutorial/
我在代码中没有出现两个错误:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_PullToRefreshView", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我添加了QuartzCore框架,但它没有帮助。我需要做什么?
谢谢:)
答案 0 :(得分:0)
您应该将PullTorefresh.m添加到项目中,而不仅仅是.h。