nsunknownkeyexception

Uncaught exception: This class is not key value coding-compliant [duplicate]

为君一笑 提交于 2019-11-26 09:43:43
问题 This question already has an answer here: Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X\" error? 67 answers I\'m following a tutorial titled \"Swift Tutorial for iOS : NSFileManager Persisting Data\", and I\'ve encountered an error around or after the 29 minute mark. When I try running it on the iOS simulator, I receive the error: Terminating app due to uncaught exception \'NSUnknownKeyException\', reason: \'[ setValue