¡@

Home 

2014/10/15 ¤U¤È 10:03:58

iphone Programming Glossary: arrayoffavourites

Array nil (even when addObject:) [duplicate]

http://stackoverflow.com/questions/8569495/array-nil-even-when-addobject

still nil EVERYTHING UPDATED This app is a table view with a tab bar controller. I am logging the count of the array arrayOfFavourites and even though i add an object is continues to have a nil value my relating code all objects shown are allocated and initialized.. ListViewController list ListViewController alloc init self setCellToPassOn list CELL if item NSLog @ NILLED ITEM fav arrayOfFavourites addObject item autorelease fav setCell cellToPassOn Favourites.m NSInteger tableView UITableView tableView numberOfRowsInSection.. NSInteger tableView UITableView tableView numberOfRowsInSection NSInteger section NSLog @ ROWS NO. NSLog @ i arrayOfFavourites count return arrayOfFavourites count Favourites A CLASS ON TAB BAR CONTROLLER WEBVIEWCONROLLER CONTROLLER FOR DIFFERENT..