Skip to main content
0 votes
1 answer
2k views

We want to add an array of doubles to a circular buffer in Objective C many times a second. We are currently using a NSMutableArray nested within another NSMutableArray (2D array). This works fine ...
2 votes
2 answers
236 views

I am trying to use the CHDataStructures static library for iPhone in my Xcode project. I included it with # import "CHDataStructures.h" in my class header. However, when I compile my project I get the ...
5 votes
2 answers
4k views

To help simplify debugging of some custom Objective-C objects in the Xcode debugger window, I've created a set of data formatter strings for each of the objects, using the related Apple documentation ...
0 votes
1 answer
116 views

Attempting to compile trunk@711 on OSX 10.8 with Xcode 4.5.2 getting compilation error. CHMutableDictionary.m:54 Conflicting types for 'createCollectableCFMutableDictionary' Looking at ...
11 votes
1 answer
1k views

After not programming for a long, long time (20+ years) I'm trying to get back into it. My first real attempt is a Scrabble/Words With Friends solver/cheater (pick your definition). I've built a ...
0 votes
2 answers
370 views

The documentation probably says, but I'm a newbie and can't yet make sense of it all. I'm having all sorts of ARC errors trying to use it, but I'm hoping it's just my own mistake(s).
3 votes
1 answer
2k views

I want to use CHDataStructures as framework: https://github.com/davedelong/CHDataStructures. However there is no binary of the project. So I assume I have to build the .a file myself using xcode. ...
47 votes
3 answers
17k views

Note: The following SO questions are related, but neither they nor the linked resources seem to fully answer my questions, particularly in relation to implementing equality tests for collections of ...
1 vote
1 answer
255 views

I need a priority queue, I guess in the framework, CHMutableArrayHeap and CHBinaryHeap can do the job, right? However, if i send objects with identical priority to the queue, both CHMutableArrayHeap ...
7 votes
1 answer
2k views

for my game iOS project I need a ring buffer. It should work similar to a queue where elements go out and go in but the total amount of elements in the buffer should stay the same. I implemented the ...
3 votes
1 answer
1k views

I'm new to iPhone programming and I'm trying to use CHDataStructures in my project. But I'm running into some issues: When I directly try to build it right after download I get the error "Foundation/...
3 votes
1 answer
488 views

I downloaded CHDataStructures source code (r709), and tried to compile the iOS static library under xCode 4. It complained when compiling: Can anyone give me some ideas how to compile it?
10 votes
9 answers
3k views

Note: Although my particular context is Objective-C, my question actually transcends programming language choice. Also, I tagged it as "subjective" since someone is bound to complain otherwise, but I ...