i have a custom tabBar class in which i switch three view controllers ,i am removing the presentview controller and presenting the other .
custom tabbar class
-list
-inbox
-messages
now i have to pass an array from list to inbox
i usually create an instance of the recieving class like
Inbox *inbox=[[Inbox alloc]init];
inbox.array=self.array;
but in this case its not working.the array in inbox class returns null when i nslog it