ios - How to reload UITableView when I add a new element to NSMutableArray in another class? -


i have singleton object has ivar nsmutablearray holds images global application. , have uitableviewcontroller class represents image attaches message.i want next: when user select images camera roll added singleton's array. , want reload tableview of uitableviewcontroller @ once display these new messages. how can implement this? should use key-value observing , if yes how can this? (i should notify when new object added array). or may there other more correct way?

i know u need do.download demo reference.

it has delegate method

    - (void)imagepicker:(gkimagepicker *)imagepicker pickedimage:(uiimage *)image{       // add code here adding image mutable array , reload tableview.        } 

Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -