I am new in ObjectiveC. I am creating one NSMutableArray object in .h file setting its property and releasing in dealloc in .m file.
Now i am adding objects in this array in the method ViewDidLoad. So the objects should remain be there in this array (like global array) until i move from this view but in my pickerView control every time when i scroll this array shows 0 object and i can't add objects every time in my picker view methods because it may slow down it when object count grows and i am fetching objects from local db.
Let me know how can we retain objects here. In .NET we use viewstate and sessions for retaining objects value when page postback or load again.