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
Post a Comment