         super.init(nibName: nibName, bundle: bundle)
         
         passcodeLock.delegate = self
+        notificationCenter = NSNotificationCenter.defaultCenter()
     }
     
     public convenience init(state: LockState, configuration: PasscodeLockConfigurationType) {

    @IBAction func touchIDButtonTap(sender: UIButton) {
        
        passcodeLock.authenticateWithBiometrics()
    }
    
    internal func dismissPasscodeLock(lock: PasscodeLockType) {

    
    public var successCallback: ((lock: PasscodeLockType) -> Void)?
    public var dismissCompletionCallback: (()->Void)?
    public var notificationCenter: NSNotificationCenter?
    
    internal let passcodeConfiguration: PasscodeLockConfigurationType
    internal let passcodeLock: PasscodeLockType
    internal var isPlaceholdersAnimationCompleted = true
    
    private var shouldTryToAuthenticateWithBiometrics = false
    
    // MARK: - Initializers
    
    public init(state: PasscodeLockStateType, configuration: PasscodeLockConfigurationType) {
        
        passcodeConfiguration = configuration
