Commit 09671b5f authored by 刘俊宏's avatar 刘俊宏

调整test临时


parent caba6188
//
// ToAndFormSelectViewController.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/7/25.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
import LGButton
class ToAndFormSelectViewController: BaseViewController {
@IBOutlet weak var navBgView: UIView!
@IBOutlet weak var citySelectBtn: UIButton!
@IBOutlet weak var phoneTF: UITextField!
@IBOutlet weak var nameTF: UITextField!
@IBOutlet weak var addressDetailTF: UITextField!
@IBOutlet weak var toFormTitleLbl: UILabel!
@IBOutlet weak var sureSelectLbl: UILabel!
@IBOutlet weak var MapBgView: UIView!
override func viewDidLoad() {
super.viewDidLoad()
let searchBr = SearchBarView.init()
navBgView.addSubview(searchBr)
searchBr.snp.makeConstraints { (make) in
make.left.equalTo(citySelectBtn.snp_right).offset(5)
make.right.equalTo(-10)
make.centerY.equalToSuperview()
make.height.equalTo(35)
}
searchBr.placeholderStr = "从哪儿发货"
searchBr.cornerRadius = 35/2.0
}
@IBAction func sureSelectAddressAction(_ sender: LGButton) {
print("sureSelectAddressAction")
}
}
//
// File.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/7/25.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class TestViewController: BaseViewController,UITableViewDelegate,
UITableViewDataSource,UIGestureRecognizerDelegate {
var tableView:UITableView?
var ctrlnames:[String] = ["UILabel 标签","UIButton 按钮","UIDatePiker 日期选择器",
"UITableView 表格视图","UIButton 按钮","UIDatePiker 日期选择器",
"UITableView 表格视图"]
override func viewDidLoad() {
super.viewDidLoad()
//创建表视图
self.tableView = UITableView(frame: self.view.frame,
style:.plain)
self.tableView!.delegate = self
self.tableView!.dataSource = self
//创建一个重用的单元格
self.tableView!.register(UINib(nibName: "ToFormChangeTableViewCell", bundle: nil), forCellReuseIdentifier: "ToFormChangeTableViewCell")
self.view.addSubview(self.tableView!)
self.tableView!.setEditing(true, animated:true)
self.tableView!.separatorStyle = .none
}
//在本例中,只有一个分区
func numberOfSections(in tableView: UITableView) -> Int {
return 1
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 49
}
//返回表格行数(也就是返回控件数)
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return self.ctrlnames.count
}
//创建各单元显示内容(创建参数indexPath指定的单元)
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath)
-> UITableViewCell {
//为了提供表格显示性能,已创建完成的单元需重复使用
let identify:String = "ToFormChangeTableViewCell"
//同一形式的单元格重复使用,在声明时已注册
let cell = tableView.dequeueReusableCell(withIdentifier: identify, for: indexPath)
as! ToFormChangeTableViewCell
cell.accessoryType = UITableViewCell.AccessoryType.disclosureIndicator
cell.titleLbl.text = self.ctrlnames[indexPath.row]
return cell
}
//单元格的编辑样式
func tableView(_ tableView: UITableView, editingStyleForRowAt indexPath: IndexPath)
-> UITableViewCell.EditingStyle {
return .none
}
//去除编辑模式下的头部缩进
func tableView(_ tableView: UITableView, shouldIndentWhileEditingRowAt
indexPath: IndexPath) -> Bool {
return false
}
//在编辑状态,可以拖动设置cell位置
func tableView(_ tableView: UITableView, canMoveRowAt indexPath: IndexPath) -> Bool {
return true
}
//移动cell事件
func tableView(_ tableView: UITableView, moveRowAt sourceIndexPath: IndexPath,
to destinationIndexPath: IndexPath) {
if sourceIndexPath != destinationIndexPath{
//获取移动行对应的值
let itemValue:String = ctrlnames[sourceIndexPath.row]
//删除移动的值
ctrlnames.remove(at: sourceIndexPath.row)
//如果移动区域大于现有行数,直接在最后添加移动的值
if destinationIndexPath.row > ctrlnames.count{
ctrlnames.append(itemValue)
}else{
//没有超过最大行数,则在目标位置添加刚才删除的值
ctrlnames.insert(itemValue, at:destinationIndexPath.row)
}
}
}
}
//
// ToFormChangeTableViewCell.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/7/25.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class ToFormChangeTableViewCell: UITableViewCell {
@IBOutlet weak var titleLbl: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .none
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="ToFormChangeTableViewCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Lzh-Cs-4fl">
<rect key="frame" x="28" y="19.5" width="5" height="5"/>
<color key="backgroundColor" name="灰色字体颜色"/>
<constraints>
<constraint firstAttribute="width" constant="5" id="tOB-Kd-Wm8"/>
<constraint firstAttribute="height" constant="5" id="vtS-Wv-4rQ"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="2.5"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="荔湾区环市西路" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WWM-Pn-qYa">
<rect key="frame" x="51" y="12.5" width="259" height="19"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bcf-lc-orz">
<rect key="frame" x="15" y="0.0" width="405" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="bFe-gB-OhN"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstItem="WWM-Pn-qYa" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="CpH-RR-r2S"/>
<constraint firstAttribute="trailing" secondItem="bcf-lc-orz" secondAttribute="trailing" constant="-100" id="Rd4-nY-oh8"/>
<constraint firstItem="bcf-lc-orz" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="b7F-Oq-PQ9"/>
<constraint firstAttribute="top" secondItem="bcf-lc-orz" secondAttribute="top" id="cIb-Hk-zRW"/>
<constraint firstAttribute="trailing" secondItem="WWM-Pn-qYa" secondAttribute="trailing" constant="10" id="hL2-3f-a07"/>
<constraint firstItem="Lzh-Cs-4fl" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="lOK-nX-AGS"/>
<constraint firstItem="WWM-Pn-qYa" firstAttribute="leading" secondItem="Lzh-Cs-4fl" secondAttribute="trailing" constant="18" id="nva-7y-wOR"/>
<constraint firstItem="Lzh-Cs-4fl" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="28" id="vvo-Lj-OSA"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="titleLbl" destination="WWM-Pn-qYa" id="iYa-Zx-74c"/>
</connections>
<point key="canvasLocation" x="131.8840579710145" y="138.61607142857142"/>
</tableViewCell>
</objects>
<resources>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色字体颜色">
<color red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2YO-rG-fQK" userLabel="blackView">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<color key="backgroundColor" name="提示视图背景色"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="T6j-Em-STw" userLabel="tishiView">
<rect key="frame" x="0.0" y="562" width="414" height="334"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="SMN-3i-vby" userLabel="Button1">
<rect key="frame" x="0.0" y="243" width="207" height="91"/>
<color key="backgroundColor" name="分界线颜色"/>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="取消" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3dJ-NN-9ty">
<rect key="frame" x="0.0" y="243" width="207" height="49"/>
<constraints>
<constraint firstAttribute="height" constant="49" id="p36-BL-s7S"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="17"/>
<color key="textColor" name="白色背景色"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="URA-MY-eW3" userLabel="Button2">
<rect key="frame" x="207" y="243" width="207" height="91"/>
<color key="backgroundColor" name="按钮渐变色下,字体颜色"/>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="确定" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZcS-Ue-j1a">
<rect key="frame" x="207" y="243" width="207" height="49"/>
<constraints>
<constraint firstAttribute="height" constant="49" id="YKu-lg-ZRQ"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="17"/>
<color key="textColor" name="白色背景色"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="ZcS-Ue-j1a" firstAttribute="leading" secondItem="SMN-3i-vby" secondAttribute="trailing" id="0P8-lE-rRu"/>
<constraint firstItem="3dJ-NN-9ty" firstAttribute="leading" secondItem="T6j-Em-STw" secondAttribute="leading" id="9Dc-Fh-fGS"/>
<constraint firstAttribute="centerX" secondItem="SMN-3i-vby" secondAttribute="trailing" id="Aed-A2-55l"/>
<constraint firstItem="URA-MY-eW3" firstAttribute="leading" secondItem="SMN-3i-vby" secondAttribute="trailing" id="ArI-0y-96V"/>
<constraint firstAttribute="trailing" secondItem="ZcS-Ue-j1a" secondAttribute="trailing" id="Dvk-fS-bhk"/>
<constraint firstAttribute="centerX" secondItem="3dJ-NN-9ty" secondAttribute="trailing" id="JP8-qG-ppa"/>
<constraint firstAttribute="height" constant="334" id="K4b-LB-BO2"/>
<constraint firstItem="SMN-3i-vby" firstAttribute="leading" secondItem="T6j-Em-STw" secondAttribute="leading" id="LdA-5e-KpG"/>
<constraint firstAttribute="trailing" secondItem="URA-MY-eW3" secondAttribute="trailing" id="dBw-Ll-DDm"/>
<constraint firstItem="SMN-3i-vby" firstAttribute="bottom" secondItem="T6j-Em-STw" secondAttribute="bottom" id="jNr-jb-K10"/>
<constraint firstItem="3dJ-NN-9ty" firstAttribute="top" secondItem="SMN-3i-vby" secondAttribute="top" id="nGt-7F-1at"/>
<constraint firstAttribute="bottomMargin" secondItem="3dJ-NN-9ty" secondAttribute="bottom" id="o57-5n-psE"/>
<constraint firstItem="ZcS-Ue-j1a" firstAttribute="top" secondItem="URA-MY-eW3" secondAttribute="top" id="yVW-k0-r7k"/>
<constraint firstItem="URA-MY-eW3" firstAttribute="top" secondItem="SMN-3i-vby" secondAttribute="top" id="yi6-1N-EP9"/>
<constraint firstAttribute="bottom" secondItem="URA-MY-eW3" secondAttribute="bottom" id="yt9-03-Q3S"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="10"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="2YO-rG-fQK" secondAttribute="trailing" id="7BW-Mk-PpH"/>
<constraint firstAttribute="bottom" secondItem="T6j-Em-STw" secondAttribute="bottom" id="BgZ-UB-mkl"/>
<constraint firstItem="T6j-Em-STw" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="hcb-Ja-oBo"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="T6j-Em-STw" secondAttribute="trailing" id="j3F-EE-dmx"/>
<constraint firstItem="2YO-rG-fQK" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="n3L-Jb-m49"/>
<constraint firstAttribute="bottom" secondItem="2YO-rG-fQK" secondAttribute="bottom" id="rLN-0U-24z"/>
<constraint firstItem="2YO-rG-fQK" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="zkc-c8-ysI"/>
</constraints>
<viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
<point key="canvasLocation" x="132" y="139"/>
</view>
</objects>
<resources>
<namedColor name="分界线颜色">
<color red="0.65100002288818359" green="0.75700002908706665" blue="0.87800002098083496" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="按钮渐变色下,字体颜色">
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="提示视图背景色">
<color red="0.1803921568627451" green="0.1803921568627451" blue="0.1803921568627451" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="白色背景色">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
...@@ -16,7 +16,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab ...@@ -16,7 +16,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
navbar.title = "运单详情" navbar.title = "运单详情"
self.view.addSubview(navbar) self.view.addSubview(navbar)
SetTopFrameView(view: listView, btmView: self.view) SetTopFrameView(view: listView, btmView: self.view)
listView.register(UINib(nibName: "WayBillAddressItemCell", bundle: nil), forCellReuseIdentifier: "WayBillAddressItemCell") listView.register(UINib(nibName: "WayBillAddressCanDelItemCell", bundle: nil), forCellReuseIdentifier: "WayBillAddressCanDelItemCell")
listView.register(UINib(nibName: "DriverItemTableViewCell", bundle: nil), forCellReuseIdentifier: "DriverItemTableViewCell") listView.register(UINib(nibName: "DriverItemTableViewCell", bundle: nil), forCellReuseIdentifier: "DriverItemTableViewCell")
listView.register(UINib(nibName: "TitleAndTFCell", bundle: nil), forCellReuseIdentifier: "TitleAndTFCell") listView.register(UINib(nibName: "TitleAndTFCell", bundle: nil), forCellReuseIdentifier: "TitleAndTFCell")
listView.register(UINib(nibName: "WayBillStautsTableViewCell", bundle: nil), forCellReuseIdentifier: "WayBillStautsTableViewCell") listView.register(UINib(nibName: "WayBillStautsTableViewCell", bundle: nil), forCellReuseIdentifier: "WayBillStautsTableViewCell")
...@@ -96,7 +96,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab ...@@ -96,7 +96,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
return cell return cell
} }
let cell = tableView.dequeueReusableCell(withIdentifier: "WayBillAddressItemCell") as! WayBillAddressItemCell let cell = tableView.dequeueReusableCell(withIdentifier: "WayBillAddressCanDelItemCell") as! WayBillAddressCanDelItemCell
cell.iconW.constant = 22 cell.iconW.constant = 22
cell.iconH.constant = 22 cell.iconH.constant = 22
...@@ -104,7 +104,8 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab ...@@ -104,7 +104,8 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
cell.lineTopView.isHidden = false cell.lineTopView.isHidden = false
if indexPath.row == 0 { if indexPath.row == 0 {
cell.addressDetailLbl.text = "广东省广州市白云区嘉禾望岗白云大道交叉" cell.addressDetailLbl.text = ""
cell.namePhoneLbl.text = ""
cell.iconLbl.text = "发" cell.iconLbl.text = "发"
cell.iconLbl.backgroundColor = UIColor.init(named: "蓝色字体颜色") cell.iconLbl.backgroundColor = UIColor.init(named: "蓝色字体颜色")
......
//
// WayBillAddressItemCell.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/7/24.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class WayBillAddressCanDelItemCell: UITableViewCell {
@IBOutlet weak var lineTopView: UIView!
@IBOutlet weak var iconW: NSLayoutConstraint!
@IBOutlet weak var iconH: NSLayoutConstraint!
@IBOutlet weak var lineView: UIView!
@IBOutlet weak var namePhoneLbl: UILabel!
@IBOutlet weak var addressDetailLbl: UILabel!
@IBOutlet weak var addressLbl: UILabel!
@IBOutlet weak var iconLbl: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .none
}
open override func layoutSubviews() {
super.layoutSubviews()
self.contentView.setNeedsLayout()
self.contentView.layoutIfNeeded()
drawLineOfDashByCAShapeLayer(lineView:lineView, lineLength: 4, lineSpacing: 4, lineColor: UIColor.init(named: "虚线分界线颜色")!, isHorizonal: false)
drawLineOfDashByCAShapeLayer(lineView:lineTopView, lineLength: 4, lineSpacing: 4, lineColor: UIColor.init(named: "虚线分界线颜色")!, isHorizonal: false)
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment