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

Commit

Permalink
Fixed date picker display bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ortuman committed Aug 9, 2016
1 parent fc43603 commit 52b527f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 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.6-purple.svg)](http://cocoadocs.org/docsets/SwiftForms)
[![Version](https://img.shields.io/badge/pod-1.6.1-green.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.6"
s.version = "1.6.1"
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.6' }
s.source = { :git => "https://github.com/ortuman/SwiftForms.git", :tag => '1.6.1' }
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.6.0</string>
<string>1.6.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
1 change: 1 addition & 0 deletions SwiftForms/cells/FormDateCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class FormDateCell: FormValueCell {

private let datePicker = UIDatePicker()
private let hiddenTextField = UITextField(frame: CGRectZero)

private let defaultDateFormatter = NSDateFormatter()

// MARK: FormBaseCell
Expand Down
6 changes: 1 addition & 5 deletions SwiftForms/descriptors/FormRowDescriptor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,7 @@ public final class FormRowDescriptor {
}

public struct DateConfiguration {
public var dateFormatter: NSDateFormatter

public init() {
dateFormatter = NSDateFormatter()
}
public var dateFormatter: NSDateFormatter?
}

public struct RowConfiguration {
Expand Down

0 comments on commit 52b527f

Please sign in to comment.