クラスを配列で作りたいんだけどこれって大丈夫?
@interface myclass : NSObject{
  int kazu;
}
  -(void)set : (int) i;
  -(void)print;
@end
@implementation myclass
  -(void)set : (int) i
  {
    self->kazu = i;
  }
  -(void)print
  {
    printf(”%d\n”, kazu);
  }
@end
int main()
{
  @autoreleasepool
  {
    myclass* obj[3];
    for(int i=0; i<3; ++i)
      obj[i] = [ [myclass alloc]init ];
    for(int i=0; i<3; ++i)
      [obj[i]set : i*10];
    for(int i=0; i<3; ++i)
      [obj[i]print];
  }
  return 0;
}