Merge branch 'master' into develop

* master:
  joined() seems to be much more efficient than reduce()
This commit is contained in:
Nabil Chatbi 2020-03-24 20:49:38 +01:00
commit cfbf1d3b24
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ open class StringBuilder {
:return: String :return: String
*/ */
open func toString() -> String { open func toString() -> String {
return buffer.reduce("", +) return buffer.joined()
} }
/** /**

View File

@ -8,7 +8,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'SwiftSoup' s.name = 'SwiftSoup'
s.version = '2.3.0' s.version = '2.3.1'
s.summary = 'Swift HTML Parser / Reader, XML , with best of DOM, CSS, and jquery' s.summary = 'Swift HTML Parser / Reader, XML , with best of DOM, CSS, and jquery'
s.description = <<-DESC s.description = <<-DESC
SwiftSoup is a Swift library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods. SwiftSoup is a Swift library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods.