I have a .xib with a NSObjectController with it's content bound to a Swift
[String : AnyObject] variable, but get the following error:

*Cocoa Bindings: Error setting value for key path selection.startDate of
object <NSObjectController: 0x600000125780>[object class:
NSMutableDictionary] (from bound object <NSTextField: 0x6000001e3700>):
[<_TtGCSs29_NativeDictionaryStorageOwnerSSPSs9AnyObject__ 0x610000423da0>
setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key startDate.*

1/ Is this reasonable?

2/ Should I prefer NSMutableDictionary in the Swift code?

Thanks.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to