Re: NSMutableArray & NSMatrix
Re: NSMutableArray & NSMatrix
- Subject: Re: NSMutableArray & NSMatrix
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 11 Jun 2003 12:00:29 +0200
On mercredi, juin 11, 2003, at 11:43 Europe/Paris, Peter Karlsson wrote:
Dear list!
I want to store the state of a NSMatrix in a NSMutableArray but I
can't get it to work. I also want to set the state of the NSMatrix
from my NSMutableArray.
Here is my code to store the NSMatrix into the NSMutableArray (does
not work)
[myMutableArray replaceObjectAtIndex: 0 withObject:[myNSMatrix
selectedRow]];
Any
[myMutableArray replaceObjectAtIndex: 0 withObject:[NSNumber
numberWithInt:[myNSMatrix selectedRow]]];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.