Migrated from (working) swift 3 to 4 and no code change required. When I build, receive error: Property 'productsDictionary' not found on object of type 'SwagListVC *'.
The .m file has the following:
#import "appName-Swift.h"
...
if ([segue.identifier isEqualToString:@"ShowSwagList"] | [segue.identifier isEqualToString:@"ShowSwagListPad"])
{
SwagListVC *destViewController = segue.destinationViewController;
destViewController.title = NSLocalizedString(@"Products", @"Product List");
destViewController.productsDictionary = self.productsDict; //this is where the error is received
}
The swift file SwagListVC has the following:
var productsDictionary = [String:[String]]() //sent via segue from DetailedTableViewController
Randomly between clean/build will receive "appName-Swift.h" not found, but will go away. Next build will result in Property not found error. All ok in 8.3.3 (swift 3.1).