Tagged Questions
0
votes
0answers
10 views
passing a bytearray as a parameter of a method (CoreMIDI implementation)
I'm trying to create a method that outputs MIDI information to a virtual client using CoreMIDI. The "action" method is MIDIReceived, which sends midi data in the form of MIDI packets to a virtual ...
-1
votes
1answer
44 views
how to filter using NSPredicate in IOS [closed]
I have an array which contains some objects.
Now I want to filter array based on two conditions how can i achieve this one?
1.object which has both the ends same letter
2.it must contains some ...
1
vote
3answers
75 views
iOS how to copy/reference a C-Array?
I have 3 arrays with ints (enums):
static int *openEnv[] = {INGMenuItemLogon,INGMenuItemSpace,INGMenuItemAppointment,INGMenuItemInfo,INGMenuItemSettings};
static int *closedEnv[] = ...
-2
votes
2answers
24 views
dont finding plist address in xcode (can change this address?)
I have one array that I want store in .plist file but I can not find plist file created by application this is my code :
#import "ViewController.h"
#define DOC_DIR ...
0
votes
1answer
44 views
How to identify the indices of certain characters in this array?
For my game, I read in text file in order to set up my map. The text file is a series of characters separated by commas, with each character representing a tile in the game. For example, a section of ...
0
votes
1answer
57 views
C-style Multidimensional Array in ARC Objective-C
I'm trying to implement an n x n multidimensional array of ints in Objective-C, and because using NSMutableArray seems to be too much of an overhead I decided to implement it using only C's malloc and ...
0
votes
0answers
95 views
Removing objects from an array - Objective-C
I "loaded" a list of words from a plist onto a mutable array and displayed it on the screen, and now I want to remove the word from the array so that it doesn't show up on the screen again.
I tried ...
0
votes
1answer
63 views
Filter one variable from an NSArray with many instances
I'm at the beginning of Objective-C and I'm clueless about my problem
I have a class and I want to filter from an NSArray that includes different instances of class Employee just one variable of ...
0
votes
1answer
34 views
coordinates called from JSON not appearing
I'm trying to display pins from my JSON file and they are not appearing any help would be greatly appreciated: also buttons will be calling separate JSON pages.
my code for mapview.m:
- ...
0
votes
5answers
64 views
How to make an array by jumping over every 1 index
Hi is there a way to make an array by jumping over every 1 index like
lets say i have an array with objects like this:
NSArray *array =[NSArray alloc] ...
0
votes
2answers
36 views
loading the arrays that are stored in the plist
I have a plist that holds in each dictionary info for a node.
Every node has a longitude, a latitude and connections to other nodes.
Here is a small piece of the plist.
<array>
<dict>
...
0
votes
2answers
41 views
Removing Sprites From NSMutable Array
I am working on a cocos2d project and want to work with an array of sprites.
I create the array:
NSMutableArray *ssprites;
Then I add stuff to it in the init method:
CCSprite *obssprite = ...
0
votes
0answers
20 views
NSDirectoryEnumerator folder size wrong in sandbox
Before I used this url (old) to find the folder size and file inside. This don't work with Containers folder and sandbox, obviously.
Now I use this code to work with sandbox. The url is correct, ...
0
votes
1answer
23 views
Copying struct Array into another struct array (GLKVector)
I try to copy the content of vertexDataTextured ArmandDeBrignac [] array into vertexDataTextured MeshVertexData[] array. But it doesn't work.... I think the problem is in the struct method, there are ...
0
votes
4answers
82 views
addobject to array not working
I try to store some Map Informations into a NSMutableArray but it is not working. I think there is only a minor problem that I couldn't find.
At .h File:
@property (retain, nonatomic) ...