xornorik / SVPinView

SVPinView is a light-weight customisable library used for accepting pin numbers or one-time passwords.
MIT License
282 stars 90 forks source link

Crash while opening SVPinCell #55

Closed NohaMohamed closed 4 years ago

NohaMohamed commented 4 years ago

Unknown class SVPinField in Interface Builder file.

Assertion failure in -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:],

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'the cell returned from -collectionView:cellForItemAtIndexPath: does not have a reuseIdentifier - cells must be retrieved by calling -dequeueReusableCellWithReuseIdentifier:forIndexPath:'

xornorik commented 4 years ago

@NohaMohamed Did you use CocoaPods/Carthage for installing or did you manually drag the files into your project?

xornorik commented 4 years ago

@NohaMohamed I've put out a fix for this in v1.0.11. If you're still using this, could you please confirm if this has been fixed? Thank you.

lightonalan commented 3 years ago

Hi, I'm using CocoaPods, and also got the same issue. However it's gone after I called clearPin function on viewDidLoad. Just note for someone facing this error