Open velikanov opened 8 years ago
This is not hard, and once you have it working everything is easy. I don't have the time now for making an example but if you are able to share one with me, I will help you to make it happen.
Now I have another error with custom PasscodeLockView.xib when tap on on any number
fatal error: NSArray element failed to match the Swift Array Element type
Install from cocoapods and add PasscodeSignButton.swift, PasscodeSignPlaceholderView.swift files to project
i tried this too @ziogaschr . it's not clear how custom design should work. copying the xib file and then you're on your own with all kinds of errors as @kiokumicu mentioned
1) copy the xib file named PasscodeLockView.xib 2) change the owner of xib file to PasscodeLockViewController 3) connect view outlet to ? n) ...?
any idea on what the steps should be?
To get custom design working ensure that:
All Buttons and Placeholders are given the Module of PasscodeLock in addition to ensuring the File Owner of your custom PasscodeLockView.xib is PasscodeLockView and module being PasscodeLock.
Yeah, @younanjo was right, I set for all buttons module PasscodeLock and it's work ) Thx!
I love you, @younanjo. The README should be updated with this information. I've spent hours on this.
I have added a custom .xib
file in the demo app at PR #27. Please let me know if you think this is enough in order to close this issue
Migrated Issue (https://github.com/yankodimitrov/SwiftPasscodeLock/issues/25)
@kiokumicu commented on Oct 19
@guidelfrate commented on Oct 27
@gblotter commented on Oct 27
@guidelfrate commented on Oct 27
@guidelfrate commented on Oct 28
@velikanov commented an hour ago