diff --git a/CHANGELOG.md b/CHANGELOG.md index 4da8d75..aafb27d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.6.3 +- Performace. Added custom `count` implementation for `TableSection` to improve performance of e.g. `Table.isValidIndex` that might be called a lot for large tables. + ## 1.6.2 - Bugfix: Setting `table` direclty on `TableKit` or `CollectionKit` did not reload the view correctly with the updated table. diff --git a/Form/Info.plist b/Form/Info.plist index f802798..2bd8f0d 100644 --- a/Form/Info.plist +++ b/Form/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.6.2 + 1.6.3 CFBundleSignature ???? CFBundleVersion diff --git a/Form/Table.swift b/Form/Table.swift index 96af21e..1c78bd8 100644 --- a/Form/Table.swift +++ b/Form/Table.swift @@ -215,6 +215,7 @@ extension TableSection: MutableCollection { public var startIndex: Index { return 0 } public var endIndex: Index { return slice.count } + public var count: Int { return slice.count } public subscript (position: Index) -> Row { get { return slice[slice.startIndex + position] } diff --git a/FormFramework.podspec b/FormFramework.podspec index 340f492..7cc2414 100644 --- a/FormFramework.podspec +++ b/FormFramework.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "FormFramework" - s.version = "1.6.2" + s.version = "1.6.3" s.module_name = "Form" s.summary = "Powerful iOS layout and styling" s.description = <<-DESC