objective c - updating table view with data in array? -


i creating ipad 2 view controllers. 1 view controller firstviewcontroller , other secondviewcontroller. in firstviewcontroller, fill array numbers. in secondviewcontroller, have table view. want put array created in firstviewcontroller secondviewcontroller table view? how do this? please me!

you need reference nsarray object in secondviewcontroller, means of delegate. delegate instance variable contains pointer delegate, in case firstviewcontroller. in firstviewcontroller add property nsarray if instance variable, , call delegate.somearrayname in secondviewcontroller


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -