constructor in objective c
Posted
by zp26
on Stack Overflow
See other posts from Stack Overflow
or by zp26
Published on 2010-05-28T11:05:30Z
Indexed on
2010/05/28
12:31 UTC
Read the original article
Hit count: 133
HI, I have create my iPhone apps but i have a problem. I have a classViewController where i have implemented my program. I must alloc 3 NSMutableArray but i don't want do it in a grapich methods. There isn't a constructor like java for my class? Thanks so much and sorry for my english XP
// I want put it in a method like constructor java
arrayPosizioni = [[NSMutableArray alloc]init];
nomePosizioneCorrente = [NSString stringWithFormat:@"noPosition"];
© Stack Overflow or respective owner