开发者

Integrating Stack Blur C++ Port to iPhone SDK

开发者 https://www.devze.com 2023-02-06 05:18 出处:网络
Can anybody give me a pointer as to how to integrate the Stack Blur C++ library to Objective C? http://antigrain.com/index.html

Can anybody give me a pointer as to how to integrate the Stack Blur C++ library to Objective C?

http://antigrain.com/index.html

It's probably straightforward. I used to be a C开发者_开发百科 programmer long, long time ago and now I'm comfortable enough with Objective C but I completely bypassed C++ so it gives me a headache just looking at the code.

Any help would be greatly appreciated.


You'll want to look at the docs regarding "Objective-C++". Basically, you can semi-freely intermix Obj-C and C++ with a few restrictions. The main one is that Obj-C classes can't inherit from C++ or vice versa. You can have C++ members in an obj-c class, and vice versa, because it's just pointers.


Here's an implementation of Stack Blur for iOS somebody else created:

https://github.com/tomsoft1/StackBluriOS

I'm sure it'll come in handy for some people.

0

精彩评论

暂无评论...
验证码 换一张
取 消