专注计算机技术: Linux Android 云计算 虚拟化 网络
发布时间:2015-03-03 12:00:05
1.方法声明: -(void) setNumerator: (int) d;-代表对象方法,+代表类方法(静态方法)(void):返回值setNumerator:方法名(int) d:第一个参数类型和参数名2.obc可调用c++代码(.mm结尾)3.#import取代#include,可以防止重复include4.字符串:NSStringNSString *string1 = @".........【阅读全文】
发布时间:2014-10-19 15:12:14
How to add multiple static library files with different architectures to XcodeXcode Add comments When you work with a static libr.........【阅读全文】
发布时间:2014-10-19 10:01:10
Tutorial for Creating Universal Static Lib, In this tutorial we are creating Static Library for Logger class. Step 1 : Create a New Project, Named it "Logger" Step 2 : Create Classes You can create as many classes you wants, In our tutorial we will create one class named "Logger"..........【阅读全文】
发布时间:2014-10-19 09:03:20
Q: A company has asked me to deliver them a c/c++ library. They want to use it in an iphone app, which is objective c based.I would prefer to deliver a library as opposed to code.Could they wrap the c/c++ library into their iphone app without any need to see the source code?Thank.........【阅读全文】
发布时间:2014-10-11 03:24:20
HowTo compile native C codes to a library for iOS development in Xcode – take Mosquitto as an examplePosted on 2011/10/30 by allen For iOS development, sometimes you want to use a existed native C codes for help. Objective-C is a superset of C so it’s easy to combine C codes in your .........【阅读全文】
COMPUTER-TECH2014-12-23 15:06
COMPUTER-TECH:近期在搞JNI,Xcode, 所以转了好多C++的文章。 C++,需要真正的面向对象设计,面向的不好是自己给自己找麻烦。
找麻烦呀找麻烦,好好面向对象吧。
回复 | 举报