objective-c++
AudioQueue, Callback is not hitting uniformly to playback audio
In my app, i would be receiving audio data over socket in Linear PCM Format, in uniform interval of time, 50 ms approx.,[详细]
2023-03-12 02:04 分类:问答Box2d anti-gravity question
im using cocos2d with box2d. Currently im trying to optimize a system that i have installed to mak开发者_如何学Pythone certain objects have 0 gravity.[详细]
2023-03-11 06:00 分类:问答Box2d - Changing contact filter on the fly
Im using cocos2d (iOS) and box2d to create a game. I have come to the point where I need to change the contact filter mid simulation and wondering how to go about this.[详细]
2023-03-10 11:48 分类:问答box2d. Mousejoint with overlapping b2bodies
Hey, i\'m using a mousejoint for my开发者_如何学运维 b2world to move objects around. I have two objects. a Hero and an Enemy each with their own b2bodies.[详细]
2023-03-08 21:14 分类:问答Parse jtring date with objective-c
i have a NSString variables like this dd-MM-YYYY exemple 30-05-2011 . How开发者_运维百科 can i get day in a variable , month in variable and year in variable ?[详细]
2023-03-08 08:38 分类:问答objective c++ class not working
I have this in my .hpp file: class MD { public: static const开发者_运维知识库 int Blk = 0; } And this in a method in .mm file that includes the .hpp file:[详细]
2023-03-07 11:45 分类:问答add Value is not contains in CFDictionary c++?
I am using the CFDictionary for maintain list.I added some key with value after added values, checking whether added keys contains in dictionary , it returns true.But if i try to get values it is retu[详细]
2023-03-07 01:56 分类:问答How to add an observer to NSNotificationCenter in a C++ class using Objective-C++?
I have a C++ class that I recently renamed from *.cpp to *.mm to support objective-c. So I can add the following objective-c code.[详细]
2023-03-06 22:03 分类:问答iOS + OpenCV - Mat memory leak
I am using OpenCV 2.2 compiled and built from source for iOS. I used this blog post as a guide. I have played around with getting some stuff to work like making images grayscale, blurring them and ev[详细]
2023-03-06 07:55 分类:问答How to receive NSNotifications from Objective-C in C++ classes?
I have an Objective-C++ class that adds itself as an observer for an event on a Cocoa NSView. I would like to be able to send the NSNotifications to a method of a C++ class instead of an Objective-C m[详细]
2023-03-06 07:04 分类:问答