Red > Green > Refactor > Red

cycle is based on desire

this class is not key value coding-compliant for the key view.

2015-05-05 13:31:24.441 ProjectName[993:42467] ***

Terminating app due to uncaught exception 'NSUnknownKeyException', reason: 

'[<XYZViewController 0x10caafd70> setValue:forUndefinedKey:]:

this class is not key value coding-compliant for the key view.'

check 1st arg of UINib#nibWithNibName

Did match nib name to xib file name?

+ (instancetype)create {
  UINib *nib = [UINib nibWithNibName:@"DID_NIB_NAME_MATCHE_TO_XIB_FILE_NAME?" bundle:nil]; // <<<<
  TenKeyViewController *view = [nib instantiateWithOwner:self options:nil][0];
  return view;
}

check xib file has trash reference

  • open xib file you're editing
  • click 'View'
  • If exist grayed item (transmitted item)
    • re-create xib because 'trash reference' is rest in the xib file