TablePlainSectionView:实现UITableView Plain样式section headView和tableview的一起滑动

时间:2021-06-02 00:46:23
【文件属性】:
文件名称:TablePlainSectionView:实现UITableView Plain样式section headView和tableview的一起滑动
文件大小:1.18MB
文件格式:ZIP
更新时间:2021-06-02 00:46:23
Objective-C TablePlainSectionView 实现UITableView Plain样式section headView和tableview的一起滑动, 在自定义HeadSectionView中重写setFrame方法: - (void)setFrame:(CGRect)frame{ CGRect sectionRect = [self.tableView rectForSection:self.section]; CGRect newFrame = CGRectMake(CGRectGetMinX(frame), CGRectGetMinY(sectionRect), CGRectGetWidth(frame), CGRectGetHeight(frame)); [super setFrame:newFrame]; } 米农,码农blog建设中,欢迎访问.
【文件预览】:
TablePlainSectionView-master
----TableSection()
--------main.m(335B)
--------TableViewCell.h(211B)
--------AppDelegate.h(639B)
--------AppDelegate.m(6KB)
--------Base.lproj()
--------TableViewCell.m(419B)
--------TableSection.xcdatamodeld()
--------ViewController.h(321B)
--------EMMallSectionView.m(2KB)
--------EMMallSectionView.h(384B)
--------Images.xcassets()
--------Info.plist(1KB)
--------ViewController.m(2KB)
----Untitled.gif(1.13MB)
----TableSectionTests()
--------TableSectionTests.m(875B)
--------Info.plist(748B)
----README.md(651B)
----TableSection.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(18KB)
--------xcuserdata()

网友评论