Newbie problem with NSMutableArray
Newbie problem with NSMutableArray
- Subject: Newbie problem with NSMutableArray
- From: Marcus Pedersén <email@hidden>
- Date: Wed, 6 Sep 2006 21:14:37 +0200
Hi all!
Does not the message "count" work for NSMutableArray?
At a specific point my app calls the message [myMutArray count] and
then my app crashes!?
Sometimes my runlog says: has exited due to signal 10 (SIGBUS).
and sometimes: has exited due to signal 11 (SIGSEGV)
I init my array in init message: myMutArray = [NSMutableArray
arrayWithCapacity:1]
and adds one object: [ myMutArray insertObject: myObject atIndex:0]
What am I missing?
Many thanks
Marcus
_______________________________________________
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