Comments (7)
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.
from swiftpasscodelock.
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.
from swiftpasscodelock.
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
from swiftpasscodelock.
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
- copy the xib file named PasscodeLockView.xib
- change the owner of xib file to PasscodeLockViewController
- connect view outlet to ?
n) ...?
any idea on what the steps should be?
from swiftpasscodelock.
Yeah, @younanjo was right, I set for all buttons module PasscodeLock and it's work )
Thx!
from swiftpasscodelock.
I love you, @younanjo. The README should be updated with this information. I've spent hours on this.
from swiftpasscodelock.
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
from swiftpasscodelock.
Related Issues (20)
- deletePasscode() Not Getting Called. HOT 3
- App switcher screenshot HOT 1
- Can't set TouchId reason at runtime
- Touch ID misbehaviour HOT 3
- Allow to setup windowLevel HOT 9
- inccorectPasscodeAttempts value not persisted between app launches HOT 3
- Could not build PasscodeLockDemo
- cancelable TouchId prompt when restoring the app from background HOT 2
- Swift 3 update HOT 4
- Keychain support (originally: Suggestion) HOT 6
- Cannot install via carthage / Xcode 8.3.1 into Swift 3 Project HOT 2
- no 1.0.3 version available HOT 3
- Use of UIApplication.shared prevents usage within ios extensions HOT 5
- mainWindow's windowLevel should not be changed HOT 1
- dismissPasscodeLock(animated: Bool = true) called many times? HOT 1
- PasscodeLockPresenter not showing passcode screen
- Swift 4.2 Support
- Landscape view? HOT 2
- License HOT 2
- Correct typos HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftpasscodelock.