Skip to content

Commit d299fe3

Browse files
Version bump 4.2.0 (#1076)
1 parent 234a135 commit d299fe3

File tree

7 files changed

+24
-19
lines changed

7 files changed

+24
-19
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: objective-c
2-
osx_image: xcode11
2+
osx_image: xcode12
33
before_install:
44
- gem install cocoapods --quiet
55
- gem install xcpretty --quiet
66
- cd Tests && pod install && cd $TRAVIS_BUILD_DIR
77
script: rake test
8-

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
### Version 4.2.0:
5+
* Support for Swift Package Manager (#1073)
6+
* Fix Carthage build (#1075)
7+
48
### Version 4.1.0:
59
* Fix crash when .Nib is inside a framework bundle. (#1050)
610
* iOS 13 dark mode support. (#1057)
@@ -146,6 +150,6 @@ All notable changes to this project will be documented in this file.
146150
* Added a convenience method to deselect a `XLFormRowDescriptor`. `-(void)deselectFormRow:(XLFormRowDescriptor *)row;`. [#33](https://github.com/xmartlabs/XLForm/issues/33 "#33").
147151

148152

149-
### Version 1.0.0
153+
### Version 1.0.0
150154

151155
* Initial release

Examples/Objective-C/Podfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ PODS:
4343
- XLData/RemoteDataStore (2.0.0):
4444
- XLData/CoreRemote
4545
- XLData/DataStore
46-
- XLForm (4.0.1)
46+
- XLForm (4.2.0)
4747

4848
DEPENDENCIES:
4949
- AFNetworking (~> 2.0)
@@ -54,7 +54,7 @@ DEPENDENCIES:
5454
- XLForm (from `../../`)
5555

5656
SPEC REPOS:
57-
https://github.com/cocoapods/specs.git:
57+
https://github.com/CocoaPods/Specs.git:
5858
- AFNetworking
5959
- AXRatingView
6060
- JVFloatLabeledTextField
@@ -78,8 +78,8 @@ SPEC CHECKSUMS:
7878
JVFloatLabeledTextField: 58a3a32cfb800e5b224f676987e7c13abf50a14d
7979
SHSPhoneComponent: 4cec0653a150ad63cbc52b0c8b29ce2d3c9c26f0
8080
XLData: df725c6179e2e0c80bf56a1ecad9afd169707a6d
81-
XLForm: b8d47a9a00fb6166981cb40de7169d70d611e9be
81+
XLForm: eb04ea4104f26250b70a72a7fa2eed3748dca5cd
8282

8383
PODFILE CHECKSUM: 64fbcd03a2c13762b2c18e3938cc8008807937c9
8484

85-
COCOAPODS: 1.7.1
85+
COCOAPODS: 1.9.3

Examples/Swift/SwiftExample.xcodeproj/project.pbxproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@
379379
attributes = {
380380
LastSwiftMigration = 0700;
381381
LastSwiftUpdateCheck = 0700;
382-
LastUpgradeCheck = 1100;
382+
LastUpgradeCheck = 1200;
383383
ORGANIZATIONNAME = Xmartlabs;
384384
TargetAttributes = {
385385
2847A69D1AAF2679000A2ABE = {
@@ -521,6 +521,7 @@
521521
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
522522
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
523523
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
524+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
524525
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
525526
CLANG_WARN_STRICT_PROTOTYPES = YES;
526527
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -577,6 +578,7 @@
577578
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
578579
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
579580
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
581+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
580582
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
581583
CLANG_WARN_STRICT_PROTOTYPES = YES;
582584
CLANG_WARN_SUSPICIOUS_MOVE = YES;

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ A form definition is a `XLFormDescriptor` instance that contains one or more sec
156156
row = [XLFormRowDescriptor formRowDescriptorWithTag:@"starts" rowType:XLFormRowDescriptorTypeDateTimeInline title:@"Starts"];
157157
row.value = [NSDate dateWithTimeIntervalSinceNow:60*60*24];
158158
[section addFormRow:row];
159-
159+
160160
self.form = form;
161161
}
162162
```
@@ -494,7 +494,7 @@ Set `steps` to `@(0)` to disable the steps functionality.
494494
495495
##### Info
496496
497-
Sometimes our apps needs to show data that are not editable. XLForm provides us with `XLFormRowDescriptorTypeInfo` row type to display not editable info. An example of usage would be showing the app version in the settings part of an app.
497+
Sometimes our apps needs to show data that are not editable. XLForm provides us with `XLFormRowDescriptorTypeInfo` row type to display not editable info. An example of usage would be showing the app version in the settings part of an app.
498498
499499
##### Button
500500
@@ -504,7 +504,7 @@ Apart from data entry rows, not editable rows and selectors, XLForm has a button
504504
Multivalued Sections (Insert, Delete, Reorder rows)
505505
------------------------
506506
507-
Any `XLFormSectionDescriptor` object can be set up to support row insertion, deletion or reodering. It is possible to enable only one of these modes, a combination or all together.
507+
Any `XLFormSectionDescriptor` object can be set up to support row insertion, deletion or reodering. It is possible to enable only one of these modes, a combination or all together.
508508
A multivalued section is just a section that support either of these modes.
509509
510510
The most interesting part of multivalued `XLFormSectionDescriptor` is that it supports all the types of rows that were shown on the [*Rows*](#rows "Rows") section as well as custom rows.
@@ -668,7 +668,7 @@ row.action.viewControllerClass = [MapViewController class];
668668
// or
669669
//row.action.viewControllerNibName = @"MapViewControllerNibName";
670670

671-
// Set up a NSValueTransformer to convert CLLocation to NSString, it's used to show the select value description (text).
671+
// Set up a NSValueTransformer to convert CLLocation to NSString, it's used to show the select value description (text).
672672
row.valueTransformer = [CLLocationValueTrasformer class];
673673
// Set up the default value
674674
row.value = [[CLLocation alloc] initWithLatitude:-33 longitude:-56];
@@ -692,7 +692,7 @@ XLForm sets up `rowDescriptor` property using the `XLFormRowDescriptor` instance
692692

693693
The developer is responsible for update its views with the `rowDescriptor` value as well as set the selected value to `rowDescriptor` from within the custom selector view controller.
694694

695-
> Note: the properties `viewControllerClass`, `viewControllerNibName` or `viewControllerStoryboardId` are mutually exclusive and are used by `XLFormButtonCell` and `XLFormSelectorCell`. If you create a custom cell then you are responsible for using them.
695+
> Note: the properties `viewControllerClass`, `viewControllerNibName` or `viewControllerStoryboardId` are mutually exclusive and are used by `XLFormButtonCell` and `XLFormSelectorCell`. If you create a custom cell then you are responsible for using them.
696696
697697

698698
#### Another example
@@ -1100,10 +1100,10 @@ This is how you can set them:
11001100

11011101
#### How to change the height of one cell
11021102

1103-
If you want to change the height for all cells of one class you should subclass that cell and override the class method `formDescriptorCellHeightForRowDescriptor`.
1103+
If you want to change the height for all cells of one class you should subclass that cell and override the class method `formDescriptorCellHeightForRowDescriptor`.
11041104
If you want to change the height of one individual cell then you can set that height to the `height` property of XLFormRowDescripto like this:
11051105
```
1106-
XLFormRowDescriptor* row = ...
1106+
XLFormRowDescriptor* row = ...
11071107
row.height = 55;
11081108
```
11091109

@@ -1150,7 +1150,7 @@ import XLForm // Swift
11501150
## CocoaPods
11511151

11521152
1. Add the following line in the project's Podfile file:
1153-
`pod 'XLForm', '~> 4.1'`.
1153+
`pod 'XLForm', '~> 4.2'`.
11541154
2. Run the command `pod install` from the Podfile folder directory.
11551155

11561156
XLForm **has no** dependencies over other pods.
@@ -1180,7 +1180,7 @@ For further details on how to create and configure the bridging header file visi
11801180
In your `Cartfile` add:
11811181

11821182
```
1183-
github "xmartlabs/XLForm" ~> 4.1
1183+
github "xmartlabs/XLForm" ~> 4.2
11841184
```
11851185

11861186
## Using git submodules

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ task :default => 'test'
1717
private
1818

1919
def run_tests(scheme, sdk)
20-
sh("xcodebuild -workspace 'Tests/XLForm Tests.xcworkspace' -scheme '#{scheme}' -sdk '#{sdk}' -destination 'OS=13.0,name=iPhone 8' -configuration Release clean test | xcpretty -c ; exit ${PIPESTATUS[0]}") rescue nil
20+
sh("xcodebuild -workspace 'Tests/XLForm Tests.xcworkspace' -scheme '#{scheme}' -sdk '#{sdk}' -destination 'OS=14.0,name=iPhone 11' -configuration Release clean test | xcpretty -c ; exit ${PIPESTATUS[0]}") rescue nil
2121
end
2222

2323
def tests_failed

XLForm.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'XLForm'
3-
s.version = '4.1.0'
3+
s.version = '4.2.0'
44
s.license = { :type => 'MIT' }
55
s.summary = 'XLForm is the most flexible and powerful iOS library to create dynamic table-view forms.'
66
s.description = <<-DESC

0 commit comments

Comments
 (0)