Show HN: AiDee – a open source micro-framework for Touch ID and Face ID
github.com
github.com
[0]: https://github.com/aiFigueiredo/aiDee/blob/029fcd9c9ca8c3242...
I've found that more often than not, saving a few lines of code in too many places in the codebase can almost introduce a new dialect of the language for the team and newcomers to the team to learn and maintain.
I thank the author for sharing and taking the time and effort to do this and it seems like others are finding it useful, so it's all good.
Regarding LAContext, the only difference is that aiDee adds an extra layer of abstraction with a clean and simple public API (e.g. biometricAuth.authenticateUser(...) instead of context.evaluatePolicy(...)).
If I had a company where I'd need to implement this in 10 different apps, I think I would do something like aiDee.