[cocoa-dev] Arrays of outlets / Matrices of matrices
[cocoa-dev] Arrays of outlets / Matrices of matrices
- Subject: [cocoa-dev] Arrays of outlets / Matrices of matrices
- From: Thomas Deniau <email@hidden>
- Date: Sun, 10 Jun 2001 14:50:16 +0200
Hi ;)
Excuse me for any grammar mistake, English isn't my native language.
Is it possible to make arrays of outlets ? or NSMatrices where each cell
is itself a matrix ?
Let me explain :
I'm making a window to allow players, in a game, to choose a token.
So I've a grid :
Token 1 Token 2 Token 3 Token 4
Player 1 x x x x
Player 2 x x x x
Player 3 x x x x
Player 4 x x x x
where each x is a radio button.
Each line is a separate NSMatrix to allow only one token by player.
So, can I make a big NSMatrix where each cell is a "row" NSMatrix ?
Or an array of outlets to the matrices ?
Because having outlets Matrix1, Matrix2, and so on, is painful when you
want to add/delete rows according to the number of players.
Thanks in advance,
--
Thomas Deniau