PasscodeLockViewController must have a successCallback
ziogaschr opened this issue · 3 comments
ziogaschr commented
I have the need to set a successCallback
to PasscodeLockViewController
.
I see that there are two options:
- add a
public var successCallback: ((lock: PasscodeLockType) -> Void)?
which is then set aspasscodeLockVC.successCallback
- make the
passcodeLockVC
a public var.
p.s.: Why the successCallback
passes the lock: PasscodeLockType
. Can you give me a good example? I might benefit from that.
ziogaschr commented
I just found out something else. I would like to pass in PasscodeLockPresenter.presentPasscodeLock
my own ViewController Class which inherits from PasscodeLockViewController
. I do this, as I have to force some UI changes from code, that I can't apply in the .xib file.
ziogaschr commented
I will add a PR soon
ziogaschr commented
I am still working on it. I will include more things in the PR