Merge branch 'develop' into feature/swiftified_textField

This commit is contained in:
Kevin G Christiano 2019-12-02 09:51:09 -05:00
commit 530397084b

View File

@ -33,7 +33,7 @@ import UIKit
options: [.old, .new]
) { [weak self] object, change in
guard change.newValue != change.oldValue, let self = self,
let options = self.dropDown?.json?.optionalArrayForKey(KeyValue) as? [NSString],
let options = self.dropDown?.json?.optionalArrayForKey("options") as? [NSString],
let index = options.firstIndex(of: change.newValue!! as NSString),
let moleculesArrays = self.json?.arrayForKey(KeyMolecules) as? [[[AnyHashable: Any]]] else { return }