iphone - Convert NSMutableArray into integer -
i working on xml parsing , getting 3 item numbers server 1 2 3, have taken 3 numbers nsmutable array , assign them in delegate value mutable array, want pass 1 number @ time function response server, please let me know how convert nsmutable array value integer while parsing function.
do this
for(int i=0;i<[yourarrayfromxmlparsing count];i++) { int a=[[yourarrayfromxmlparsing objectatindexpath:i] intvalue]; [obj function:a]; }
Comments
Post a Comment