Created one CLimageEditor in Swift, in init period it just crashed, logs said :
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
'*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'
and my code just as simple as :
let editor = CLImageEditor(image: UIImage(named: "Profile"), delegate: self) \\ crashes here
self.presentViewController(editor, animated: true, completion:nil)
I just had done a little bit trace work, i noticed in 'toolsWithToolClass' it got some empty tools or something, just FYI.
And the 'Demo' code not the cocoapods one just works fine.
Created one CLimageEditor in Swift, in init period it just crashed, logs said :
and my code just as simple as :
I just had done a little bit trace work, i noticed in 'toolsWithToolClass' it got some empty tools or something, just FYI. And the 'Demo' code not the cocoapods one just works fine.