Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
Added missing update calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
ortuman committed Jul 18, 2016
1 parent 2c78157 commit 0196b51
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

[![Version](https://img.shields.io/badge/pod-1.5.3-orange.svg)](http://cocoadocs.org/docsets/SwiftForms)
[![Version](https://img.shields.io/badge/pod-1.5.4-orange.svg)](http://cocoadocs.org/docsets/SwiftForms)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

[![License](https://img.shields.io/badge/license-MIT-gray.svg)](http://cocoadocs.org/docsets/SwiftForms)
Expand Down
4 changes: 2 additions & 2 deletions SwiftForms.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "SwiftForms"
s.version = "1.5.3"
s.version = "1.5.4"
s.summary = "A small and lightweight library written in Swift that allows you to easily create forms"
s.homepage = "https://github.com/ortuman/SwiftForms"
s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = "Miguel Ángel Ortuño"
s.ios.deployment_target = "8.0"
s.source = { :git => "https://github.com/ortuman/SwiftForms.git", :tag => '1.5.3' }
s.source = { :git => "https://github.com/ortuman/SwiftForms.git", :tag => '1.5.4' }
s.source_files = 'SwiftForms/*.swift','SwiftForms/descriptors/*.swift', 'SwiftForms/cells/base/*.swift', 'SwiftForms/cells/*.swift', 'SwiftForms/controllers/*.swift'
end
2 changes: 1 addition & 1 deletion SwiftForms/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.5.3</string>
<string>1.5.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion SwiftForms/cells/FormTextFieldCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public class FormTextFieldCell: FormBaseCell {
// MARK: Actions

internal func editingChanged(sender: UITextField) {
guard let text = sender.text where text.characters.count > 0 else { rowDescriptor?.value = nil; return }
guard let text = sender.text where text.characters.count > 0 else { rowDescriptor?.value = nil; update(); return }
rowDescriptor?.value = text
update()
}
Expand Down
2 changes: 1 addition & 1 deletion SwiftForms/cells/FormTextViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class FormTextViewCell : FormBaseCell, UITextViewDelegate {
// MARK: UITextViewDelegate

public func textViewDidChange(textView: UITextView) {
guard let text = textView.text where text.characters.count > 0 else { rowDescriptor?.value = nil; return }
guard let text = textView.text where text.characters.count > 0 else { rowDescriptor?.value = nil; update(); return }
rowDescriptor?.value = text
update()
}
Expand Down

0 comments on commit 0196b51

Please sign in to comment.