Hi,
I think I'm missing a piece of a puzzle if anyone can help that would be great.
I've created a class I need to create a lot of instances of, sometimes 10 instances and maybe 100 at other times.
I've tested this with 2 instances and all works fine..
Icon *myIconA = [[Icon alloc] init];
In my example I used myIconA and myIconB.
How can I get my program to hand out unique object names as and when I need them? It's almost like an array of objects I need but don't know how to do that.
Any help is thoroughly appreciated.
Kevin
I think I'm missing a piece of a puzzle if anyone can help that would be great.
I've created a class I need to create a lot of instances of, sometimes 10 instances and maybe 100 at other times.
I've tested this with 2 instances and all works fine..
Icon *myIconA = [[Icon alloc] init];
In my example I used myIconA and myIconB.
How can I get my program to hand out unique object names as and when I need them? It's almost like an array of objects I need but don't know how to do that.
Any help is thoroughly appreciated.
Kevin