diff --git a/CHANGELOG.md b/CHANGELOG.md index 7234ed89..3f657f63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # Changelog +### 0.9.3 +- **Add**: Add section animated functions to `TableKit`. ### 0.9.2 - **Update**: Add response to `RequestError`. diff --git a/LeadKit.podspec b/LeadKit.podspec index f23082ac..f0a18701 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.9.2" + s.version = "0.9.3" s.summary = "iOS framework with a bunch of tools for rapid development" s.homepage = "https://github.com/TouchInstinct/LeadKit" s.license = "Apache License, Version 2.0" diff --git a/Sources/Extensions/TableKit/TableDirector/TableDirector+Extensions.swift b/Sources/Extensions/TableKit/TableDirector/TableDirector+Extensions.swift index 609a3573..8c273e2f 100644 --- a/Sources/Extensions/TableKit/TableDirector/TableDirector+Extensions.swift +++ b/Sources/Extensions/TableKit/TableDirector/TableDirector+Extensions.swift @@ -172,16 +172,14 @@ public extension TableDirector { } } - /** - Method inserts section with animation - - - parameter section: Section to insert - - parameter index: Position to insert - - parameter animation: The type of insert animation - - parameter manualBeginEndUpdates: Don't call beginUpdates() & endUpdates() inside. - - - returns: self - */ + /// Method inserts section with animation. + /// + /// - Parameters: + /// - section: Section to insert + /// - index: Position to insert + /// - animation: The type of insert animation + /// - manualBeginEndUpdates: Don't call beginUpdates() & endUpdates() inside. + /// - Returns: self @discardableResult func insert(section: TableSection, at index: Int, @@ -200,15 +198,13 @@ public extension TableDirector { return self } - /** - Method removes section with animation - - - parameter index: Position to remove - - parameter animation: The type of remove animation - - parameter manualBeginEndUpdates: Don't call beginUpdates() & endUpdates() inside. - - - returns: self - */ + /// Method removes section with animation. + /// + /// - Parameters: + /// - index: Position to remove + /// - animation: The type of remove animation + /// - manualBeginEndUpdates: Don't call beginUpdates() & endUpdates() inside. + /// - Returns: self @discardableResult func remove(at index: Int, with animation: UITableView.RowAnimation, @@ -226,16 +222,14 @@ public extension TableDirector { return self } - /** - Method replace section with animation - - - parameter section: Section to replace - - parameter index: Position to replace - - parameter animation: The type of replace animation - - parameter manualBeginEndUpdates: Don't call beginUpdates() & endUpdates() inside. - - - returns: self - */ + /// Method replace section with animation. + /// + /// - Parameters: + /// - section: Section to replace + /// - index: Position to replace + /// - animation: The type of replace animation + /// - manualBeginEndUpdates: Don't call beginUpdates() & endUpdates() inside. + /// - Returns: self func replace(with section: TableSection, at index: Int, with animation: UITableView.RowAnimation,