File tree Expand file tree Collapse file tree
ZHTableViewGroupSwift/Classes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99Pod ::Spec . new do |s |
1010 s . name = 'ZHTableViewGroupSwift'
11- s . version = '0.1.0 '
11+ s . version = '0.1.1 '
1212 s . summary = 'ZHTableViewGroup为 UITableView 而生'
1313 s . homepage = 'https://github.com/josercc/ZHTableViewGroupSwift'
1414 s . license = { :type => 'MIT' , :file => 'LICENSE' }
Original file line number Diff line number Diff line change @@ -31,19 +31,19 @@ public class ZHTableViewGroup: NSObject {
3131
3232
3333 public func addCell( completionHandle: ZHTableViewGroupAddCellCompletionHandle ) {
34- var cell = ZHTableViewCell ( )
34+ let cell = ZHTableViewCell ( )
3535 completionHandle ( cell)
3636 cells. append ( cell)
3737 }
3838
3939 public func addHeader( completionHandle: ZHTableViewGroupAddHeaderFooterCompletionHandle ) {
40- var header = ZHTableViewHeaderFooter ( style: . header)
40+ let header = ZHTableViewHeaderFooter ( style: . header)
4141 completionHandle ( header)
4242 self . header = header
4343 }
4444
4545 public func addFooter( completionHandle: ZHTableViewGroupAddHeaderFooterCompletionHandle ) {
46- var footer = ZHTableViewHeaderFooter ( style: . footer)
46+ let footer = ZHTableViewHeaderFooter ( style: . footer)
4747 completionHandle ( footer)
4848 self . footer = footer
4949 }
You can’t perform that action at this time.
0 commit comments