MaxKramer/ObjectiveLuhn — pull request #8 by dmdeller (2014-04-01 20:04:05+00:00)
Title: Allow passing nil and short strings to +validateString:

I want to validate the credit card number in a UITextField every time the user types a character, so that I can immediately provide them with feedback as soon as they correct any errors. Currently, this fails the assert when the user begins to type in an empty text field (because the `length` is <9). It seems reasonable to return `NO` for a string that is too short or `nil`. If I'm not mistaken, `NSAssert` is usually used to catch programmer errors, which does not seem to apply to this use case.