Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mbarron

macrumors newbie
Original poster
Mar 30, 2009
8
0
I get the following error :
2009-04-10 16:06:30.268 SQLiteBooks[7061:20b] *** -[NSCFSet setParentViewController:]: unrecognized selector sent to instance 0x25315c0
2009-04-10 16:06:30.268 SQLiteBooks[7061:20b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFSet setParentViewController:]: unrecognized selector sent to instance 0x25315c0'
2009-04-10 16:06:30.269 SQLiteBooks[7061:20b] Stack: (
12480779,
10165819,
12509962,
12503308,
12503506,
816634940,
816634297,
13352,
816405054,
816409512,
816216343,
816148479,
816144864,
827743722,
827753484,
11982325,
11984088,
827745792,
827745989,
816114848,
816160924,
8464,
8318
)
I based this app on example SQLiteBooks, the name for the PCH is still name
that way, hence the Listing above.

This error occurs not the first time but the SECOND time I try to "navigate" from one view to
a second view. I successfully reach the second view on the first attempt ( after
push the UIViewController for the second view onto the UINavigationController), that is
following a section in the TableView of the first view the following code runs
in an Instance of MasterViewController

[[self navigationController] pushViewController:subListViewController animated:YES];

The navigation Bar has a BackButton on VC #2 , which I used to return to the view of the original
MasterViewController. I immediately select an item in the tableView of the MasterViewController
, attempting to return to the second view for a second time
and immediately receive the error message above.

The BackButton of the SubListViewController appears to successfully pop off the "second" VC
or sublistViewController from the NavigationControllers stack. Can you please suggest
how I go about discovering a solution to this problem.
I have commented out almost all of the code in MasterViewController to reduce the
code hit.

MasterViewController, the first VC is loaded from a Nib.
I hope this info is sufficient and not too much.

Many Thanks for looking at this post. Mark
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.