You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
362 B
Objective-C
21 lines
362 B
Objective-C
#ifndef YSARRAY_H
|
|
#define YSARRAY_H
|
|
|
|
#import "YSObject.h"
|
|
|
|
@interface YSArray : YSObject {
|
|
//public so you can index it directly
|
|
@public
|
|
id *array;
|
|
unsigned int count;
|
|
unsigned int cap;
|
|
}
|
|
|
|
-(void) addObject: (id) theObject;
|
|
-(void) removeObject: (unsigned int) index;
|
|
-(unsigned int) capacity;
|
|
-(void) setCapacity: (unsigned int) c;
|
|
|
|
@end
|
|
|
|
#endif |