Merge pull request #225 from TouchInstinct/feature/add_@discardableResult_to_replace_section
[Add] @discardable result to replace section
This commit is contained in:
commit
dc102b1f73
|
|
@ -1,5 +1,8 @@
|
|||
# Changelog
|
||||
|
||||
### 0.9.31
|
||||
- **Add**: `@discardableResult` to function - `replace(with:at:with:manualBeginEndUpdates)` in `TableDirector`.
|
||||
|
||||
### 0.9.30
|
||||
- **Add**: character `*` into a valid set of characters in the extension `telpromptURL` of String.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = "LeadKit"
|
||||
s.version = "0.9.30"
|
||||
s.version = "0.9.31"
|
||||
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"
|
||||
|
|
|
|||
|
|
@ -230,6 +230,7 @@ public extension TableDirector {
|
|||
/// - animation: The type of replace animation
|
||||
/// - manualBeginEndUpdates: Don't call beginUpdates() & endUpdates() inside.
|
||||
/// - Returns: self
|
||||
@discardableResult
|
||||
func replace(with section: TableSection,
|
||||
at index: Int,
|
||||
with animation: UITableView.RowAnimation,
|
||||
|
|
|
|||
Loading…
Reference in New Issue