Tags: lukeredpath/swift-responsive-textfield
Tags
Wrap calls to super in an explicit closure. For some reason, passing the super implementation in a point-free style here is causing malformed coverage data in an app that uses this library - I have no idea why this is occurring but this does seem to fix the problem. 🤷🏻♂️
Fix bug with standard edit action handling where original might not get called. The logic is supposed to be that if a custom override is provided and it returns true, the original should be called, but if no override is provided then the original should be called. The previous implementation was calling the original using optional chaining which meant the original would not be called if the override was nil. This change fixes that bug and also refactors out the duplicated logic into a more general function.
PreviousNext