The exact error message I’m getting is
I understand that this should mean something along the lines of having some XIB file connection that isn’t correct. However there are no ! marks on my connections for the XIB file. In fact, this is a relatively new copy from the original/base homepwner directory and the datePickerVariable should not exist. In this specific project all I’ve done so far is add the class for DatePickerViewController with a blank XIB. I’ve linked the view to UIView on the XIB, there are no other objects on the XIB. The .h and .m files are all in their default state. I’ve implemented a button on DetailViewController and links it to
DatePickerViewController *dpvc = [[DatePickerViewController alloc] init];
[[self navigationController] pushViewController:dpvc animated:YES];
The above error occurs when I push that change date button.
Some other bits that may be contributing to this. I’ve previously implemented this project using a subview that worked. I’ve either duplicated or renamed the directory that the project was originally in into another directory. I’ve duplicated the base/original project into this current directory that the other project was also named previously.
Original -> "Homepwner"
subview version -> “Homepwner” duplicate -> “Homepwner - chp 11 gold challenge” -> renamed/duplicated to "Homepwner - chp 11 gold challenge subview"
new version -> “Homepwner” duplicate -> “Homepwner - chp 11 gold challenge”
The reason I’m suspecting this, is because on another try to create this via navigation controller, the error was referring to a datePickerView key which was implemented in my subview version. Now this error pops up for a variable that I have implemented in the subview version as well.
If this is the cause of the error, what’s the proper way of duplicating/creating backup files for the projects and how can I “unlink” the variables that don’t exist in the current project?