Sorry for the rather large diff but there isn't much middle ground. The project should continue to be usable by source / CocoaPods (though someone should verify the podfile tweaks are accurate) but now also offers a dynamic framework (iOS 8+) for easy integration via Carthage. The PR reorganizes the files a bit and makes a couple fixes. Zxcvbn.xcodeproj and /Zxcvbn now only contain the primary source files and the example project has been moved to iOS Example.xcodepoj and /Example.
In addition to file moving, two small fixes were made:
The JSON resources are fetched from the bundle by class rather than main bundle (mentioned in dropbox/zxcvbn-ios#16)
A couple of imports were missing that were previously provided via precompiled header
Sorry for the rather large diff but there isn't much middle ground. The project should continue to be usable by source / CocoaPods (though someone should verify the podfile tweaks are accurate) but now also offers a dynamic framework (iOS 8+) for easy integration via Carthage. The PR reorganizes the files a bit and makes a couple fixes.
Zxcvbn.xcodeproj
and/Zxcvbn
now only contain the primary source files and the example project has been moved toiOS Example.xcodepoj
and/Example
.In addition to file moving, two small fixes were made: