Re: object instance names generated on the fly?
Re: object instance names generated on the fly?
- Subject: Re: object instance names generated on the fly?
- From: email@hidden
- Date: Fri, 21 Mar 2003 15:14:33 +0000
Why don't you just use an array? or a dictionary if you really have to
give each instance a name...
John.
Ben Dougall <email@hidden>
Sent by: email@hidden
03/21/2003 10:49 AM
To: email@hidden
cc:
Subject: object instance names generated on the fly?
only just starting cocoa/obj-c so this might be very easy to do, or
impossible. i have no idea.
is it possible to get various object instances from one class with
names based/generated from a variable rather than names that have been
typed into the code - so a series of object instances whos names have
been generated by using a for loop for instance?
thanks.
_______________________________________________
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.
_______________________________________________
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.