objective-c++
Can I use [self retain] to hold the object itself in objective-c?
I\'m using [self retain] to hold a开发者_如何学Cn object itself, and [self release] to free it elsewhere. This is very convenient sometimes. But this is actually a reference-loop, or dead-lock, which[详细]
2023-02-18 08:28 分类:问答Basic error, in coding please help
warning: property \'timerLevel3\' requires method \'-timerLevel3\' to be defined - use @synthesize, @dynamic or provide a method implementation[详细]
2023-02-18 01:53 分类:问答Calling variables from C++ class to Objective C class
I am creating an instance of an Objective C class from a C++ instance. The problem is that when trying to get the values of some vars (in the obj c instance) I always get 0. Some NSLogs are also ignor[详细]
2023-02-16 08:56 分类:问答Setting up unit with Xcode tests for an Objective-C++ code base
My issue is simply that 开发者_开发知识库I am getting errors when trying to run a test bundle with Objective-C++.[详细]
2023-02-15 11:06 分类:问答iOS media picker does not show up
I am currently working on an audio application on iPhone. It is based on apple\'s SpeakHere sample code with a user-defined input file from iPod library.[详细]
2023-02-15 01:19 分类:问答Obj-C error: "expected unqualified-id before class pointer"
I am currently working on a iOS development project. For convenience I split the features in several small programs in early stage. The project consists of Obj-C, Obj-C++ and C++ programs. Right now I[详细]
2023-02-14 23:33 分类:问答ISO C++ forbids declaration of 'NSPersistentStoreCoordinator' with no type
I have .mm file that I want under function to work with core data // in header file /*Saving parameters*/[详细]
2023-02-14 02:37 分类:问答How to use standard c++ libraries in xcode?
I have a new empty xcode project. It gives me \"No such file or directory\" compile error when I try to import some c++ 开发者_开发技巧libraries such as <iostream>, <string>, and <map&g[详细]
2023-02-13 20:19 分类:问答Xcode objective C++ -- avoid making .hh files?
To get header files with both Objective C and C++ objects to work, I have to rename them from .h to .hh.But my colleague uses .h with no problems.Neither of us understands开发者_如何学编程 why.[详细]
2023-02-13 06:54 分类:问答objective c++ accessing an NSSlider from c++ callback
AppController.h @interface AppController : NSObject { } @property (retain) IBOutlet NSSlider * mySlider;[详细]
2023-02-13 05:02 分类:问答
加载中,请稍侯......