I am parsing an XML but having some problem regrading its attribute. I wan to fetch a value and want to convert into int. in my .h file I have declared
int *count;
and set property (nonatomic , readwrite)int *count;
in .m file
self.count = [[attributeDict objectForKey:@"count"] intValue];
but it gives error ” warning: initialization makes pointer from integer without a cast “
what is wrong ?
Thanks..
:O
it shoud be
int count;