Oleb 文档中的 CAFilter 是什么
网站“http://oleb.net/blog/2010/06/app-store-safe-page-curl-animations/”展示了如何实现像ibooks一样的翻页效果。
@class CAFilter;
extern NSString *kCAFilterPageCurl; // From QuartzCore.framework
static CAFilter *filter = nil;
...
其中定义了 CAFilter 类。我们不能看看这个类的本体吗?
难道我们不能继承这个类吗?
The WebSite "http://oleb.net/blog/2010/06/app-store-safe-page-curl-animations/" shows how can we page curl effect like ibooks.
@class CAFilter;
extern NSString *kCAFilterPageCurl; // From QuartzCore.framework
static CAFilter *filter = nil;
...
Where the CAFilter class defined. Can't we look the body of this class?
Cant't we inherit this class.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须从
获取 CAFilter.h 代码https://github.com/nst/iOS-Runtime-Headers/blob/master/Frameworks/QuartzCore.framework/CAFilter.h
在您的项目中创建一个头文件,然后复制此代码。
You have to get CAFilter.h code from
https://github.com/nst/iOS-Runtime-Headers/blob/master/Frameworks/QuartzCore.framework/CAFilter.h
In Your Project create one header file then copy this code.