Skip to content

Commit b99a62c

Browse files
committed
Updated podspec and fixed a warning in release mode.
1 parent 267eb43 commit b99a62c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

FZAccordionTableView.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = 'FZAccordionTableView'
3-
s.version = '0.1.3'
4-
s.source = { :git => 'https://github.com/fuzz-productions/FZAccordionTableView.git', :tag => '0.1.3' }
3+
s.version = '0.2.0'
4+
s.source = { :git => 'https://github.com/fuzz-productions/FZAccordionTableView.git', :tag => '0.2.0' }
55
s.source_files = 'FZAccordionTableView/*.{h,m}'
66
s.platform = :ios, '7.0'
77
s.requires_arc = true
88
s.license = { :type => 'MIT', :file => 'LICENSE' }
99
s.summary = 'FZAccordionTableView transforms your regular UITableView into an accordion table view.'
10-
s.author = { 'Krisjanis Gaidis' => 'kgaidis@fuzzproductions.com'}
10+
s.author = { 'Krisjanis Gaidis' => 'noemail@noemail.com'}
1111
s.homepage = 'https://github.com/fuzz-productions/FZAccordionTableView'
1212
end

FZAccordionTableView/FZAccordionTableView.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,11 @@ - (void)deleteSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAn
171171
}
172172

173173
- (void)insertRowsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation {
174+
#ifdef DEBUG
174175
for (NSIndexPath *indexPath in indexPaths) {
175176
NSAssert([self isSectionOpen:indexPath.section], @"Can't insert rows in a closed section: %d.", (int)indexPath.section);
176177
}
178+
#endif
177179
[super insertRowsAtIndexPaths:indexPaths withRowAnimation:animation];
178180
}
179181

0 commit comments

Comments
 (0)