discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

storing ids


From: reuss
Subject: storing ids
Date: Thu, 29 May 2003 16:08:19 GMT
User-agent: Pan/0.11.2 (Unix)

in gnustep, which method to use to store and reference object by id? 
NSArray?
NSEnumerator?
own linkedlist?
own stack implementation?
other?

(i am an absolutly beginner)

is it a wrong solution?

NSMutableArray *anArray;
anArray=[NSMutableArray new[;

id anObject=[[MyObject alloc]init];


for(i=0;i<10000000000;i++)
[anArray addObject: [anObject newWithValuw: i]];
etc

thanks any advice
andras


reply via email to

[Prev in Thread] Current Thread [Next in Thread]