NSMutableArray selector not recognised
NSMutableArray selector not recognised
- Subject: NSMutableArray selector not recognised
- From: Aaron Wallis <email@hidden>
- Date: Sun, 2 Oct 2005 00:56:57 +1000
Hey All,
im having some trouble with some code i've been working on.
For some reason, a variable [ a NSMutableArray ] isn't responding to
its selectors.
Its all very strange.
heres the code:
NSMutableArray * tempRenders = [ currentRenders
objectAtIndex: myLevel ];
QCRenderer * myRenderer = [[QCRenderer alloc]
initWithOpenGLContext:_openGLContext pixelFormat:format file:qtzFile];
if ( myPriority < 1 )
{
NSLog(@"low priority");
[ tempRenders insertObject:myRenderer atIndex:0 ];
}
else
{
NSLog(@"standard or high priority");
[ tempRenders addObject:myRenderer ];
}
both lines :
[ tempRenders addObject: myRenderer];
and
[ tempRenders insertObject:myRenderer atIndex:0];
are returning "+[NSMutableArray addObject:]: selector not recognized"
and "+[NSMutableArray insertObject:AtIndex:]: selector not
recognized" respectivly...
does anyone have any ideas on what i may be doing wrong here?
im really lost.
Cheers !
_/Az.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden