dropbox / zxcvbn-ios

A realistic password strength estimator.
https://tech.dropbox.com/2012/04/zxcvbn-realistic-password-strength-estimation/
MIT License
223 stars 64 forks source link

Unintuitive import syntax when using as dynamic framework #15

Closed erikackermann closed 8 years ago

erikackermann commented 8 years ago

Because of the - character in this cocoapod's name, the generated framework is named zxcvbn_ios. The required import to use this pod is then:

#import <zxcvbn_ios/DBZxcvbn.h>

Would be nice if this were documented somewhere (or if the name matched convention: <zxcvbn/zxcvbn.h>).

mittenimraum commented 8 years ago

Yes, that would be nice.

leah commented 8 years ago

I've updated the README to include the import which now looks like #import <Zxcvbn/DBZxcvbn.h>. I'm open to nicer formats, so pull requests welcome!