Skip to content

Commit

Permalink
Merge pull request #73 from recruit-lifestyle/develop
Browse files Browse the repository at this point in the history
Fix crash in IB
  • Loading branch information
liu044100 authored Mar 19, 2019
2 parents 6155295 + e9d8061 commit 6b94944
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SmileLock.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SmileLock"
s.version = "3.0.6"
s.version = "3.0.7"
s.summary = "A library for make a beautiful Passcode Lock View."
s.description = <<-DESC
1. Create a beautiful passcode lock view simply.
Expand Down
4 changes: 3 additions & 1 deletion SmileLock/Classes/PasswordInputView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ open class PasswordInputView: UIView {

//MARK: Life Cycle
#if TARGET_INTERFACE_BUILDER
override public func willMoveToSuperview(newSuperview: UIView?) {
open override func prepareForInterfaceBuilder() {
super.prepareForInterfaceBuilder()
configureSubviews()
}
#else

override open func awakeFromNib() {
super.awakeFromNib()
configureSubviews()
Expand Down

0 comments on commit 6b94944

Please sign in to comment.