Commit 2068b4e2 authored by pete谢兆麟's avatar pete谢兆麟

新增受养人 模版

parent 07bba4c0
...@@ -97,6 +97,11 @@ ...@@ -97,6 +97,11 @@
0430E6742C74A02B000511E2 /* YHAdopterIdCardViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6732C74A02B000511E2 /* YHAdopterIdCardViewController.swift */; }; 0430E6742C74A02B000511E2 /* YHAdopterIdCardViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6732C74A02B000511E2 /* YHAdopterIdCardViewController.swift */; };
0430E6762C74A4BE000511E2 /* YHAdopterMarryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6752C74A4BE000511E2 /* YHAdopterMarryViewController.swift */; }; 0430E6762C74A4BE000511E2 /* YHAdopterMarryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6752C74A4BE000511E2 /* YHAdopterMarryViewController.swift */; };
0430E6782C74A53F000511E2 /* YHAdopterMarryCardTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6772C74A53F000511E2 /* YHAdopterMarryCardTableViewCell.swift */; }; 0430E6782C74A53F000511E2 /* YHAdopterMarryCardTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6772C74A53F000511E2 /* YHAdopterMarryCardTableViewCell.swift */; };
0430E67A2C757F13000511E2 /* YHAdoptedChinaTravelViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6792C757F13000511E2 /* YHAdoptedChinaTravelViewController.swift */; };
0430E67C2C757F81000511E2 /* YHAdopterChinaLifeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E67B2C757F81000511E2 /* YHAdopterChinaLifeViewController.swift */; };
0430E67E2C75872E000511E2 /* YHAdopterOtherViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E67D2C75872E000511E2 /* YHAdopterOtherViewController.swift */; };
0430E6802C75966D000511E2 /* YHAdopterCardExampleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E67F2C75966D000511E2 /* YHAdopterCardExampleView.swift */; };
0430E6822C75E068000511E2 /* YHAdopterCardOtherGuideView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6812C75E067000511E2 /* YHAdopterCardOtherGuideView.swift */; };
0435FA7F2BA178C100024EAE /* YHCommonAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA7E2BA178C100024EAE /* YHCommonAlertView.swift */; }; 0435FA7F2BA178C100024EAE /* YHCommonAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA7E2BA178C100024EAE /* YHCommonAlertView.swift */; };
0435FA812BA186D600024EAE /* YHMyFileMethodTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA802BA186D600024EAE /* YHMyFileMethodTableViewCell.swift */; }; 0435FA812BA186D600024EAE /* YHMyFileMethodTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA802BA186D600024EAE /* YHMyFileMethodTableViewCell.swift */; };
0435FA832BA2DEB100024EAE /* YHCardButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA822BA2DEB100024EAE /* YHCardButton.swift */; }; 0435FA832BA2DEB100024EAE /* YHCardButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA822BA2DEB100024EAE /* YHCardButton.swift */; };
...@@ -815,6 +820,11 @@ ...@@ -815,6 +820,11 @@
0430E6732C74A02B000511E2 /* YHAdopterIdCardViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterIdCardViewController.swift; sourceTree = "<group>"; }; 0430E6732C74A02B000511E2 /* YHAdopterIdCardViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterIdCardViewController.swift; sourceTree = "<group>"; };
0430E6752C74A4BE000511E2 /* YHAdopterMarryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterMarryViewController.swift; sourceTree = "<group>"; }; 0430E6752C74A4BE000511E2 /* YHAdopterMarryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterMarryViewController.swift; sourceTree = "<group>"; };
0430E6772C74A53F000511E2 /* YHAdopterMarryCardTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterMarryCardTableViewCell.swift; sourceTree = "<group>"; }; 0430E6772C74A53F000511E2 /* YHAdopterMarryCardTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterMarryCardTableViewCell.swift; sourceTree = "<group>"; };
0430E6792C757F13000511E2 /* YHAdoptedChinaTravelViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdoptedChinaTravelViewController.swift; sourceTree = "<group>"; };
0430E67B2C757F81000511E2 /* YHAdopterChinaLifeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterChinaLifeViewController.swift; sourceTree = "<group>"; };
0430E67D2C75872E000511E2 /* YHAdopterOtherViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterOtherViewController.swift; sourceTree = "<group>"; };
0430E67F2C75966D000511E2 /* YHAdopterCardExampleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterCardExampleView.swift; sourceTree = "<group>"; };
0430E6812C75E067000511E2 /* YHAdopterCardOtherGuideView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterCardOtherGuideView.swift; sourceTree = "<group>"; };
0435FA7E2BA178C100024EAE /* YHCommonAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCommonAlertView.swift; sourceTree = "<group>"; }; 0435FA7E2BA178C100024EAE /* YHCommonAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCommonAlertView.swift; sourceTree = "<group>"; };
0435FA802BA186D600024EAE /* YHMyFileMethodTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMyFileMethodTableViewCell.swift; sourceTree = "<group>"; }; 0435FA802BA186D600024EAE /* YHMyFileMethodTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMyFileMethodTableViewCell.swift; sourceTree = "<group>"; };
0435FA822BA2DEB100024EAE /* YHCardButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCardButton.swift; sourceTree = "<group>"; }; 0435FA822BA2DEB100024EAE /* YHCardButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCardButton.swift; sourceTree = "<group>"; };
...@@ -1674,6 +1684,8 @@ ...@@ -1674,6 +1684,8 @@
0430E66B2C749573000511E2 /* YHAdopterCardExplainTableViewCell.swift */, 0430E66B2C749573000511E2 /* YHAdopterCardExplainTableViewCell.swift */,
0430E66F2C749BCF000511E2 /* YHAdopterResidentTableViewCell.swift */, 0430E66F2C749BCF000511E2 /* YHAdopterResidentTableViewCell.swift */,
0430E6772C74A53F000511E2 /* YHAdopterMarryCardTableViewCell.swift */, 0430E6772C74A53F000511E2 /* YHAdopterMarryCardTableViewCell.swift */,
0430E67F2C75966D000511E2 /* YHAdopterCardExampleView.swift */,
0430E6812C75E067000511E2 /* YHAdopterCardOtherGuideView.swift */,
); );
path = V; path = V;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -1690,6 +1702,9 @@ ...@@ -1690,6 +1702,9 @@
0430E6712C749E74000511E2 /* YHAdopterBirthViewController.swift */, 0430E6712C749E74000511E2 /* YHAdopterBirthViewController.swift */,
0430E6732C74A02B000511E2 /* YHAdopterIdCardViewController.swift */, 0430E6732C74A02B000511E2 /* YHAdopterIdCardViewController.swift */,
0430E6752C74A4BE000511E2 /* YHAdopterMarryViewController.swift */, 0430E6752C74A4BE000511E2 /* YHAdopterMarryViewController.swift */,
0430E6792C757F13000511E2 /* YHAdoptedChinaTravelViewController.swift */,
0430E67B2C757F81000511E2 /* YHAdopterChinaLifeViewController.swift */,
0430E67D2C75872E000511E2 /* YHAdopterOtherViewController.swift */,
); );
path = C; path = C;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -4046,6 +4061,7 @@ ...@@ -4046,6 +4061,7 @@
045EEF012B9F171A0022A143 /* YHFormItemSelectSheetCell.swift in Sources */, 045EEF012B9F171A0022A143 /* YHFormItemSelectSheetCell.swift in Sources */,
045EEEE52B9F171A0022A143 /* YHMySignatureDetailViewController.swift in Sources */, 045EEEE52B9F171A0022A143 /* YHMySignatureDetailViewController.swift in Sources */,
A5ACE92F2B4564F7002C94D2 /* YHMyViewController.swift in Sources */, A5ACE92F2B4564F7002C94D2 /* YHMyViewController.swift in Sources */,
0430E6802C75966D000511E2 /* YHAdopterCardExampleView.swift in Sources */,
A5ACE9332B4564F7002C94D2 /* NetBaseModel.swift in Sources */, A5ACE9332B4564F7002C94D2 /* NetBaseModel.swift in Sources */,
04256DF62C736A0800A37BA4 /* YHServiceItemCell.swift in Sources */, 04256DF62C736A0800A37BA4 /* YHServiceItemCell.swift in Sources */,
A5FF0F3A2C32F20A0069852B /* YHActivityDetailCell0.swift in Sources */, A5FF0F3A2C32F20A0069852B /* YHActivityDetailCell0.swift in Sources */,
...@@ -4461,6 +4477,7 @@ ...@@ -4461,6 +4477,7 @@
0485DFDA2C660EFA00B50293 /* YHPrincipleRequestModel.swift in Sources */, 0485DFDA2C660EFA00B50293 /* YHPrincipleRequestModel.swift in Sources */,
A5CA3F522C744A5000EB22F5 /* YHUploadCertificateTitleCell.swift in Sources */, A5CA3F522C744A5000EB22F5 /* YHUploadCertificateTitleCell.swift in Sources */,
045EEE832B9F171A0022A143 /* YHMainInfoPreviewModel.swift in Sources */, 045EEE832B9F171A0022A143 /* YHMainInfoPreviewModel.swift in Sources */,
0430E67C2C757F81000511E2 /* YHAdopterChinaLifeViewController.swift in Sources */,
045EEEAB2B9F171A0022A143 /* YHImageClipperViewController.swift in Sources */, 045EEEAB2B9F171A0022A143 /* YHImageClipperViewController.swift in Sources */,
044414032BC39B8D00784A14 /* YHServerTableHeadView.swift in Sources */, 044414032BC39B8D00784A14 /* YHServerTableHeadView.swift in Sources */,
045EEECB2B9F171A0022A143 /* YHScoreResultBaseModel.swift in Sources */, 045EEECB2B9F171A0022A143 /* YHScoreResultBaseModel.swift in Sources */,
...@@ -4503,8 +4520,10 @@ ...@@ -4503,8 +4520,10 @@
045EEEF22B9F171A0022A143 /* YHChildBasicInfoVC.swift in Sources */, 045EEEF22B9F171A0022A143 /* YHChildBasicInfoVC.swift in Sources */,
A567E5A22BD7643D00D5D5A0 /* YHConfigManager.swift in Sources */, A567E5A22BD7643D00D5D5A0 /* YHConfigManager.swift in Sources */,
047AA3E02C4A63B2009C4554 /* YHLifeSectionView.swift in Sources */, 047AA3E02C4A63B2009C4554 /* YHLifeSectionView.swift in Sources */,
0430E67E2C75872E000511E2 /* YHAdopterOtherViewController.swift in Sources */,
04174D772BCD5B74000BA46D /* YHMessageDetailListVC.swift in Sources */, 04174D772BCD5B74000BA46D /* YHMessageDetailListVC.swift in Sources */,
044D0BFE2C21649A00C5CF5E /* YHUserInformationModel.swift in Sources */, 044D0BFE2C21649A00C5CF5E /* YHUserInformationModel.swift in Sources */,
0430E67A2C757F13000511E2 /* YHAdoptedChinaTravelViewController.swift in Sources */,
A592BFEF2B9AB720004C04A9 /* YHWholeScreenTipsView.swift in Sources */, A592BFEF2B9AB720004C04A9 /* YHWholeScreenTipsView.swift in Sources */,
045EEEF42B9F171A0022A143 /* YHSpouseBasicInfoVC.swift in Sources */, 045EEEF42B9F171A0022A143 /* YHSpouseBasicInfoVC.swift in Sources */,
A5FD63C32B63438A00D1D9DA /* YHContactMainItemStatusModel.swift in Sources */, A5FD63C32B63438A00D1D9DA /* YHContactMainItemStatusModel.swift in Sources */,
...@@ -4545,6 +4564,7 @@ ...@@ -4545,6 +4564,7 @@
045EEEA02B9F171A0022A143 /* YHWorkItemListModel.swift in Sources */, 045EEEA02B9F171A0022A143 /* YHWorkItemListModel.swift in Sources */,
04EA230E2BB538E9009DA928 /* YHDocumentUploadTableViewCell.swift in Sources */, 04EA230E2BB538E9009DA928 /* YHDocumentUploadTableViewCell.swift in Sources */,
04256DEA2C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift in Sources */, 04256DEA2C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift in Sources */,
0430E6822C75E068000511E2 /* YHAdopterCardOtherGuideView.swift in Sources */,
04174D742BCD5B74000BA46D /* IMAppKey.swift in Sources */, 04174D742BCD5B74000BA46D /* IMAppKey.swift in Sources */,
A567E5B62BD7643D00D5D5A0 /* YHHomeBannerIndicatorView.swift in Sources */, A567E5B62BD7643D00D5D5A0 /* YHHomeBannerIndicatorView.swift in Sources */,
045EEEAD2B9F171A0022A143 /* YHWorkExperienceListTableViewCell.swift in Sources */, 045EEEAD2B9F171A0022A143 /* YHWorkExperienceListTableViewCell.swift in Sources */,
......
//
// YHAdoptedChinaTravelViewController.swift
// galaxy
//
// Created by EDY on 2024/8/21.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHAdoptedChinaTravelViewController: YHBaseViewController {
var tableView: UITableView!
var nextButton: UIButton!
var clickIndex = -1
var data: [YHItemModel] = []
var viewModel = YHYHAdopterTravelViewModel()
override func viewDidLoad() {
super.viewDidLoad()
gk_navTitle = "上传中国旅行证"
gk_navBackgroundColor = .white
gk_navBarAlpha = 1
setView()
getData()
}
func getData() {
data = viewModel.getChinaDataSource(false)
tableView.reloadData()
}
func setView() {
view.backgroundColor = .white
tableView = {
let tableView = UITableView(frame:.zero, style:.plain)
tableView.contentInsetAdjustmentBehavior = .never
tableView.backgroundColor = .white
tableView.separatorStyle = .none
tableView.delegate = self
tableView.dataSource = self
tableView.register(cellWithClass: YHAdopterExampleTableViewCell.self)
tableView.register(cellWithClass: YHAdopterResidentTableViewCell.self)
tableView.register(cellWithClass: YHAdopterCardExplainTableViewCell.self)
return tableView
}()
view.addSubview(tableView)
tableView.snp.makeConstraints { make in
make.top.equalTo(k_Height_NavigationtBarAndStatuBar + 8)
make.bottom.left.right.equalTo(view)
}
nextButton = {
let button = UIButton(type: .custom)
button.backgroundColor = UIColor.brandMainColor
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 16)
button.contentHorizontalAlignment = .center
button.setTitle("确认上传", for: .normal)
button.setTitleColor( UIColor(hex:0xffffff), for: .normal)
button.layer.cornerRadius = kCornerRadius3
button.addTarget(self, action: #selector(nextStep), for: .touchUpInside)
return button
}()
view.addSubview(nextButton)
nextButton.snp.makeConstraints { make in
make.left.equalTo(16)
make.right.equalTo(-16)
make.bottom.equalTo(-8 - k_Height_safeAreaInsetsBottom())
make.height.equalTo(48)
}
}
@objc func nextStep() {
}
@objc func submit() {
}
}
extension YHAdoptedChinaTravelViewController: UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 2
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 0 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterCardExplainTableViewCell.self)
return cell
}
if indexPath.row == 1 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterResidentTableViewCell.self)
return cell
}
return UITableViewCell()
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.row == 0 {
return 40
}
if indexPath.row == 1 {
return 173
}
return 0
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
}
}
...@@ -88,6 +88,12 @@ extension YHAdopterBirthViewController: UITableViewDelegate, UITableViewDataSour ...@@ -88,6 +88,12 @@ extension YHAdopterBirthViewController: UITableViewDelegate, UITableViewDataSour
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 0 { if indexPath.row == 0 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterExampleTableViewCell.self) let cell = tableView.dequeueReusableCell(withClass: YHAdopterExampleTableViewCell.self)
cell.exampleBlock = {[weak self] in
let view = YHAdopterCardExampleView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: KScreenHeight))
view.type = .birth
let window = UIApplication.shared.yhKeyWindow()
window?.addSubview(view)
}
return cell return cell
} }
if indexPath.row == 1 { if indexPath.row == 1 {
......
//
// YHAdopterChinaLifeViewController.swift
// galaxy
//
// Created by EDY on 2024/8/21.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHAdopterChinaLifeViewController: YHBaseViewController {
var tableView: UITableView!
var nextButton: UIButton!
var clickIndex = -1
var data: [YHItemModel] = []
var viewModel = YHYHAdopterTravelViewModel()
override func viewDidLoad() {
super.viewDidLoad()
gk_navTitle = "上传中国居留许可签证"
gk_navBackgroundColor = .white
gk_navBarAlpha = 1
setView()
getData()
}
func getData() {
data = viewModel.getChinaDataSource(false)
tableView.reloadData()
}
func setView() {
view.backgroundColor = .white
tableView = {
let tableView = UITableView(frame:.zero, style:.plain)
tableView.contentInsetAdjustmentBehavior = .never
tableView.backgroundColor = .white
tableView.separatorStyle = .none
tableView.delegate = self
tableView.dataSource = self
tableView.register(cellWithClass: YHAdopterExampleTableViewCell.self)
tableView.register(cellWithClass: YHAdopterResidentTableViewCell.self)
tableView.register(cellWithClass: YHAdopterCardExplainTableViewCell.self)
return tableView
}()
view.addSubview(tableView)
tableView.snp.makeConstraints { make in
make.top.equalTo(k_Height_NavigationtBarAndStatuBar + 8)
make.bottom.left.right.equalTo(view)
}
nextButton = {
let button = UIButton(type: .custom)
button.backgroundColor = UIColor.brandMainColor
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 16)
button.contentHorizontalAlignment = .center
button.setTitle("确认上传", for: .normal)
button.setTitleColor( UIColor(hex:0xffffff), for: .normal)
button.layer.cornerRadius = kCornerRadius3
button.addTarget(self, action: #selector(nextStep), for: .touchUpInside)
return button
}()
view.addSubview(nextButton)
nextButton.snp.makeConstraints { make in
make.left.equalTo(16)
make.right.equalTo(-16)
make.bottom.equalTo(-8 - k_Height_safeAreaInsetsBottom())
make.height.equalTo(48)
}
}
@objc func nextStep() {
}
@objc func submit() {
}
}
extension YHAdopterChinaLifeViewController: UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 2
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 0 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterCardExplainTableViewCell.self)
return cell
}
if indexPath.row == 1 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterResidentTableViewCell.self)
return cell
}
return UITableViewCell()
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.row == 0 {
return 40
}
if indexPath.row == 1 {
return 173
}
return 0
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
}
}
...@@ -97,6 +97,12 @@ extension YHAdopterChinaViewController: UITableViewDelegate, UITableViewDataSour ...@@ -97,6 +97,12 @@ extension YHAdopterChinaViewController: UITableViewDelegate, UITableViewDataSour
if indexPath.section == 0 { if indexPath.section == 0 {
if indexPath.row == 0 { if indexPath.row == 0 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterExampleTableViewCell.self) let cell = tableView.dequeueReusableCell(withClass: YHAdopterExampleTableViewCell.self)
cell.exampleBlock = {[weak self] in
let view = YHAdopterCardExampleView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: KScreenHeight))
view.type = .china
let window = UIApplication.shared.yhKeyWindow()
window?.addSubview(view)
}
return cell return cell
} }
if indexPath.row == 1 { if indexPath.row == 1 {
......
...@@ -88,6 +88,12 @@ extension YHAdopterMarryViewController: UITableViewDelegate, UITableViewDataSour ...@@ -88,6 +88,12 @@ extension YHAdopterMarryViewController: UITableViewDelegate, UITableViewDataSour
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 0 { if indexPath.row == 0 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterExampleTableViewCell.self) let cell = tableView.dequeueReusableCell(withClass: YHAdopterExampleTableViewCell.self)
cell.exampleBlock = {[weak self] in
let view = YHAdopterCardExampleView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: KScreenHeight))
view.type = .marry
let window = UIApplication.shared.yhKeyWindow()
window?.addSubview(view)
}
return cell return cell
} }
if indexPath.row == 1 { if indexPath.row == 1 {
......
...@@ -106,6 +106,11 @@ class YHAdopterNewPeopleViewController: YHBaseViewController { ...@@ -106,6 +106,11 @@ class YHAdopterNewPeopleViewController: YHBaseViewController {
// } else { // } else {
// //
// } // }
let view = YHAdopterCardOtherGuideView.sheetView()
view.ischeckBeforeFlag = false
view.block = {
}
view.show()
} }
bottom.saveBlock = { [weak self] in bottom.saveBlock = { [weak self] in
guard let self = self else { return } guard let self = self else { return }
...@@ -223,10 +228,17 @@ extension YHAdopterNewPeopleViewController: UITableViewDelegate, UITableViewData ...@@ -223,10 +228,17 @@ extension YHAdopterNewPeopleViewController: UITableViewDelegate, UITableViewData
let vc = YHAdopterIdCardViewController() let vc = YHAdopterIdCardViewController()
self.navigationController?.pushViewController(vc) self.navigationController?.pushViewController(vc)
case .other: case .other:
break let vc = YHAdopterOtherViewController()
self.navigationController?.pushViewController(vc)
case .marry: case .marry:
let vc = YHAdopterMarryViewController() let vc = YHAdopterMarryViewController()
self.navigationController?.pushViewController(vc) self.navigationController?.pushViewController(vc)
case .chinaTravel:
let vc = YHAdoptedChinaTravelViewController()
self.navigationController?.pushViewController(vc)
case .chinaLife:
let vc = YHAdopterChinaLifeViewController()
self.navigationController?.pushViewController(vc)
} }
} }
} }
......
//
// YHAdopterOtherViewController.swift
// galaxy
//
// Created by EDY on 2024/8/21.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHAdopterOtherViewController: YHBaseViewController {
var tableView: UITableView!
var nextButton: UIButton!
var clickIndex = -1
var data: [YHItemModel] = []
var viewModel = YHYHAdopterTravelViewModel()
override func viewDidLoad() {
super.viewDidLoad()
gk_navTitle = "上传其他相关证件"
gk_navBackgroundColor = .white
gk_navBarAlpha = 1
setView()
getData()
}
func getData() {
data = viewModel.getChinaDataSource(false)
tableView.reloadData()
}
func setView() {
view.backgroundColor = .white
tableView = {
let tableView = UITableView(frame:.zero, style:.plain)
tableView.contentInsetAdjustmentBehavior = .never
tableView.backgroundColor = .white
tableView.separatorStyle = .none
tableView.delegate = self
tableView.dataSource = self
tableView.register(cellWithClass: YHAdopterExampleTableViewCell.self)
tableView.register(cellWithClass: YHAdopterResidentTableViewCell.self)
tableView.register(cellWithClass: YHAdopterCardExplainTableViewCell.self)
return tableView
}()
view.addSubview(tableView)
tableView.snp.makeConstraints { make in
make.top.equalTo(k_Height_NavigationtBarAndStatuBar + 8)
make.bottom.left.right.equalTo(view)
}
nextButton = {
let button = UIButton(type: .custom)
button.backgroundColor = UIColor.brandMainColor
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 16)
button.contentHorizontalAlignment = .center
button.setTitle("确认上传", for: .normal)
button.setTitleColor( UIColor(hex:0xffffff), for: .normal)
button.layer.cornerRadius = kCornerRadius3
button.addTarget(self, action: #selector(nextStep), for: .touchUpInside)
return button
}()
view.addSubview(nextButton)
nextButton.snp.makeConstraints { make in
make.left.equalTo(16)
make.right.equalTo(-16)
make.bottom.equalTo(-8 - k_Height_safeAreaInsetsBottom())
make.height.equalTo(48)
}
}
@objc func nextStep() {
}
@objc func submit() {
}
}
extension YHAdopterOtherViewController: UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 3
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 0 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterExampleTableViewCell.self)
cell.exampleBlock = {[weak self] in
let view = YHAdopterCardExampleView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: KScreenHeight))
view.type = .other
let window = UIApplication.shared.yhKeyWindow()
window?.addSubview(view)
}
return cell
}
if indexPath.row == 1 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterCardExplainTableViewCell.self)
cell.alertLabel.text = "请致电客服咨询后上传相关证件"
return cell
}
if indexPath.row == 2 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterResidentTableViewCell.self)
return cell
}
return UITableViewCell()
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.row == 0 {
return 118
}
if indexPath.row == 1 {
return 84
}
if indexPath.row == 2 {
return 173
}
return 0
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
}
}
...@@ -88,6 +88,12 @@ extension YHAdopterResidentViewController: UITableViewDelegate, UITableViewDataS ...@@ -88,6 +88,12 @@ extension YHAdopterResidentViewController: UITableViewDelegate, UITableViewDataS
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 0 { if indexPath.row == 0 {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterExampleTableViewCell.self) let cell = tableView.dequeueReusableCell(withClass: YHAdopterExampleTableViewCell.self)
cell.exampleBlock = {[weak self] in
let view = YHAdopterCardExampleView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: KScreenHeight))
view.type = .resident
let window = UIApplication.shared.yhKeyWindow()
window?.addSubview(view)
}
return cell return cell
} }
if indexPath.row == 1 { if indexPath.row == 1 {
......
//
// YHAdopterCardExampleViewController.swift
// galaxy
//
// Created by EDY on 2024/8/21.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHAdopterCardExampleView: UIView {
var centerView: UIView!
var titleLabel: UILabel!
var closeButton: UIButton!
var tableView: UITableView!
var lineView: UIView!
var bottomButton: UIButton!
var data: [String] = []
var type: YHAdopterCardType? {
didSet {
guard let type = type else { return }
if type == .china {
titleLabel.text = "身份证示例模板"
data = ["service_adopter_example_china"]
centerView.snp.remakeConstraints { make in
make.left.right.bottom.equalToSuperview()
make.height.equalTo(691)
}
}
if type == .resident {
titleLabel.text = "户口信息示例 (仅供参考)"
data = ["service_adopter_example_resident"]
centerView.snp.remakeConstraints { make in
make.left.right.bottom.equalToSuperview()
make.height.equalTo(667)
}
}
if type == .birth {
titleLabel.text = "出生医学证明示例 (仅供参考)"
data = ["service_adopter_example_birth"]
centerView.snp.remakeConstraints { make in
make.left.right.bottom.equalToSuperview()
make.height.equalTo(453)
}
}
if type == .marry {
titleLabel.text = "出生医学证明示例 (仅供参考)"
data = ["service_adopter_example_marry"]
centerView.snp.remakeConstraints { make in
make.left.right.bottom.equalToSuperview()
make.height.equalTo(691)
}
}
if type == .other {
titleLabel.text = "其他相关证件说明"
titleLabel.textAlignment = .left
data = ["service_adopter_example_other1", "service_adopter_example_other2","service_adopter_example_other3","service_adopter_example_other4"]
centerView.snp.remakeConstraints { make in
make.left.right.bottom.equalToSuperview()
make.height.equalTo(701)
}
}
}
}
override init(frame: CGRect) {
super.init(frame: frame)
backgroundColor = UIColor(white: 0.5, alpha: 0.1)
let tap = UITapGestureRecognizer(target: self, action: #selector(handleTap))
tap.delegate = self
addGestureRecognizer(tap)
setView()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func setView() {
backgroundColor = UIColor(hex: 0x000000, alpha: 0.5)
centerView = {
let view = UIView()
view.backgroundColor = .white
view.layer.cornerRadius = kCornerRadius6
return view
}()
addSubview(centerView)
centerView.snp.makeConstraints { make in
make.left.right.bottom.equalToSuperview()
make.height.equalTo(686)
}
titleLabel = {
let label = UILabel()
label.text = "身份证示例模板"
label.font = UIFont.PFSC_M(ofSize: 17)
label.textColor = UIColor.mainTextColor
label.textAlignment = .center
return label
}()
centerView.addSubview(titleLabel)
titleLabel.snp.makeConstraints { make in
make.left.equalTo(21)
make.right.equalTo(-21)
make.height.equalTo(21)
make.top.equalTo(16)
}
closeButton = {
let button = UIButton(type: .custom)
button.setBackgroundImage(UIImage(named: "service_card_close"), for: .normal)
button.addTarget(self, action: #selector(dismiss), for: .touchUpInside)
return button
}()
centerView.addSubview(closeButton)
closeButton.snp.makeConstraints { make in
make.right.equalTo(-21)
make.width.height.equalTo(24)
make.top.equalTo(16)
}
lineView = {
let view = UIView()
view.backgroundColor = UIColor.separatorColor
return view
}()
centerView.addSubview(lineView)
lineView.snp.makeConstraints { make in
make.left.equalTo(18)
make.top.equalTo(52)
make.height.equalTo(1)
make.right.equalTo(-18)
}
tableView = {
let tableView = UITableView(frame:.zero, style:.plain)
tableView.contentInsetAdjustmentBehavior = .never
tableView.backgroundColor = .white
tableView.separatorStyle = .none
tableView.delegate = self
tableView.dataSource = self
tableView.register(cellWithClass: YHAdopterCardExampleViewTableViewCell.self)
return tableView
}()
centerView.addSubview(tableView)
tableView.snp.makeConstraints { make in
make.top.equalTo(73)
make.bottom.equalTo(-103)
make.left.right.equalToSuperview()
}
bottomButton = {
let button = UIButton(type: .custom)
button.backgroundColor = UIColor(hex:0x4d9ffb)
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 16)
button.contentHorizontalAlignment = .center
button.setTitle("知道了", for: .normal)
button.setTitleColor( UIColor(hex:0xffffff), for: .normal)
button.layer.cornerRadius = kCornerRadius3
button.clipsToBounds = true
button.addTarget(self, action: #selector(dismiss), for: .touchUpInside)
return button
}()
centerView.addSubview(bottomButton)
bottomButton.snp.makeConstraints { make in
make.right.equalTo(-21)
make.left.equalTo(21)
make.bottom.equalTo(-42)
make.height.equalTo(48)
}
bottomButton.layoutIfNeeded()
bottomButton.addYinHeGradualLayer()
}
@objc private func handleTap(_ sender: AnyObject?) {
print("处理点击手势")
dismiss()
}
@objc func dismiss() {
removeFromSuperview()
}
}
extension YHAdopterCardExampleView: UIGestureRecognizerDelegate {
func gestureRecognizer(_ gestureRecognizer:UIGestureRecognizer, shouldReceive touch:UITouch) -> Bool {
if touch.view == self {
return true
}
return false
}
}
extension YHAdopterCardExampleView: UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return data.count
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterCardExampleViewTableViewCell.self)
cell.imageName = data[indexPath.row]
return cell
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
guard let type = type else { return 0 }
if type == .china {
return 507 + 20
}
if type == .resident {
return 482 + 20
}
if type == .birth {
return 269 + 20
}
if type == .marry {
return 968 + 20
}
if type == .other {
if indexPath.row == 0 {
return 204 + 20
}
if indexPath.row == 1 {
return 147 + 20
}
if indexPath.row == 2 {
return 91 + 20
}
if indexPath.row == 3 {
return 91 + 20
}
}
return 0
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
}
}
class YHAdopterCardExampleViewTableViewCell: UITableViewCell {
var bgImageView: UIImageView!
var imageName: String? {
didSet {
bgImageView.image = UIImage(named: imageName ?? "")
}
}
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
required init?(coder: NSCoder) {
super.init(coder: coder)
}
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
selectionStyle = .none
setupUI()
}
func setupUI() {
backgroundColor = .clear
bgImageView = {
let imageView = UIImageView()
return imageView
}()
contentView.addSubview(bgImageView)
bgImageView.snp.makeConstraints { make in
make.left.equalTo(20)
make.right.bottom.equalTo(-20)
make.top.equalTo(0)
}
}
}
//
// YHAdopterCardOtherGuideView.swift
// galaxy
//
// Created by EDY on 2024/8/21.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHAdopterCardOtherGuideView: UIView {
typealias Block = () -> ()
var block: Block?
var titleLabel: UILabel!
var lineView: UIView!
var tableView: UITableView!
var data: [String] = ["service_adopter_example_other","service_adopter_example_other1", "service_adopter_example_other2","service_adopter_example_other3","service_adopter_example_other4"]
lazy var blackMaskView: UIView = {
let view = UIView()
view.backgroundColor = UIColor(hex: 0x0F1214, alpha: 0.5)
// let tap = UITapGestureRecognizer(target: self, action: #selector(dismiss))
// view.addGestureRecognizer(tap)
return view
}()
lazy var whiteContentView: UIView = {
let view = UIView()
view.backgroundColor = .white
return view
}()
lazy var bottomView: UIView = {
let view = UIView()
view.backgroundColor = .clear
view.addSubview(self.rewardBtn)
self.rewardBtn.snp.makeConstraints { make in
make.top.equalToSuperview().offset(10)
make.left.equalTo(kMargin)
make.right.equalTo(-kMargin)
make.height.equalTo(44)
}
view.layer.zPosition = 10
return view
}()
//我已悉知,确认
lazy var rewardBtn: UIButton = {
let button = UIButton(type: .custom)
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 15)
button.contentHorizontalAlignment = .center
button.setTitle("我已悉知,确认", for: .normal)
button.setTitleColor(UIColor.white, for: .normal)
button.layer.cornerRadius = kCornerRadius3
button.clipsToBounds = true
button.addTarget(self, action: #selector(clickSureBtn), for: .touchUpInside)
button.backgroundColor = UIColor.brandMainColor
return button
}()
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override init(frame: CGRect) {
super.init(frame: frame)
setupUI()
}
private var timer : Timer?
private var maxCount : Int = 5
//之前是否展示过
var ischeckBeforeFlag : Bool = false {
didSet {
if ischeckBeforeFlag {
setButtonEnable(true)
} else {
setButtonEnable(false)
startTimer()
}
}
}
}
extension YHAdopterCardOtherGuideView {
static func sheetView() -> YHAdopterCardOtherGuideView {
let view = YHAdopterCardOtherGuideView(frame:UIScreen.main.bounds)
return view
}
func show() {
UIApplication.shared.yhKeyWindow()?.addSubview(self)
UIView.animate(withDuration: 0.5) {
let whiteHeight = KScreenHeight - k_Height_NavigationtBarAndStatuBar
self.whiteContentView.frame = CGRect(x: 0, y: KScreenHeight - whiteHeight, width: KScreenWidth, height: whiteHeight)
}
}
@objc func dismiss() {
self.removeFromSuperview()
}
@objc func clickSureBtn() {
self.block?()
dismiss()
}
}
private extension YHAdopterCardOtherGuideView {
@objc func timerFired() {
// 定时器触发时执行的代码
print("Timer fired")
self.maxCount = self.maxCount - 1
if self.maxCount < 0 {
self.stopTimer()
self.setButtonEnable(true)
} else {
rewardBtn.setTitle("请上滑看完指引后操作(\(maxCount)s)", for: .normal)
}
}
func startTimer() {
stopTimer()
timer = Timer.scheduledTimer(timeInterval: 1.0, target: self, selector: #selector(timerFired), userInfo: nil, repeats: true)
RunLoop.current.add(timer!, forMode: .common)
}
func stopTimer() {
maxCount = 5
timer?.invalidate()
timer = nil
}
func setButtonEnable(_ enable : Bool) {
rewardBtn.isEnabled = enable
if enable {
rewardBtn.setTitle("我已悉知,确认", for: .normal)
rewardBtn.backgroundColor = UIColor.brandMainColor
} else {
rewardBtn.setTitle("请上滑看完指引后操作(5s)", for: .normal)
rewardBtn.backgroundColor = UIColor(hex: 0xB7C0CC, alpha: 1.0)
}
}
func setupUI() {
self.addSubview(blackMaskView)
self.addSubview(whiteContentView)
let corner = UIRectCorner(rawValue: UIRectCorner.topLeft.rawValue | UIRectCorner.topRight.rawValue)
let path = UIBezierPath(roundedRect:bounds,byRoundingCorners: corner,cornerRadii:CGSizeMake(16.0, 16.0));
let layer = CAShapeLayer();
layer.frame = whiteContentView.bounds;
layer.path = path.cgPath;
whiteContentView.layer.mask = layer;
whiteContentView.clipsToBounds = true
blackMaskView.snp.makeConstraints { make in
make.edges.equalToSuperview()
}
let whiteHeight = KScreenHeight - k_Height_NavigationtBarAndStatuBar
// whiteContentView.snp.makeConstraints { make in
// make.left.right.bottom.equalToSuperview()
// make.height.equalTo(whiteHeight)
// }
whiteContentView.frame = CGRect(x: 0, y: KScreenHeight, width: KScreenWidth, height: whiteHeight)
titleLabel = {
let label = UILabel()
label.text = "其他相关证件说明"
label.font = UIFont.PFSC_M(ofSize: 17)
label.textColor = UIColor.mainTextColor
label.textAlignment = .left
return label
}()
whiteContentView.addSubview(titleLabel)
titleLabel.snp.makeConstraints { make in
make.left.equalTo(21)
make.right.equalTo(-21)
make.height.equalTo(21)
make.top.equalTo(16)
}
lineView = {
let view = UIView()
view.backgroundColor = UIColor.separatorColor
return view
}()
whiteContentView.addSubview(lineView)
lineView.snp.makeConstraints { make in
make.left.equalTo(18)
make.top.equalTo(52)
make.height.equalTo(1)
make.right.equalTo(-18)
}
tableView = {
let tableView = UITableView(frame:.zero, style:.plain)
tableView.contentInsetAdjustmentBehavior = .never
tableView.backgroundColor = .white
tableView.separatorStyle = .none
tableView.delegate = self
tableView.dataSource = self
tableView.register(cellWithClass: YHAdopterCardExampleViewTableViewCell.self)
return tableView
}()
whiteContentView.addSubview(tableView)
tableView.snp.makeConstraints { make in
make.top.equalTo(73)
make.bottom.equalTo(-103)
make.left.right.equalToSuperview()
}
whiteContentView.addSubview(bottomView)
bottomView.snp.makeConstraints { make in
make.bottom.left.right.equalToSuperview()
make.height.equalTo(98)
}
}
}
extension YHAdopterCardOtherGuideView : UIScrollViewDelegate {
func scrollViewDidScroll(_ scrollView: UIScrollView) {
if !ischeckBeforeFlag {
let scrollViewContentHeight = scrollView.contentSize.height
let scrollOffsetThreshold = scrollViewContentHeight - scrollView.bounds.size.height
// 当前滚动位置
let currentOffset = scrollView.contentOffset.y
if currentOffset > scrollOffsetThreshold { // 接近底部
// 滚动到了底部
ischeckBeforeFlag = true
stopTimer()
setButtonEnable(true)
} else {
// 没有滚动到底部
}
}
}
}
extension YHAdopterCardOtherGuideView: UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return data.count
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withClass: YHAdopterCardExampleViewTableViewCell.self)
cell.imageName = data[indexPath.row]
return cell
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.row == 1 {
return 204 + 20
}
if indexPath.row == 2 {
return 147 + 20
}
if indexPath.row == 3 {
return 91 + 20
}
if indexPath.row == 4 {
return 91 + 20
}
return 68 + 20
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "service_adopter_example_birth@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_adopter_example_birth@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "service_adopter_example_china@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_adopter_example_china@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "service_adopter_example_marry@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_adopter_example_marry@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "service_adopter_example_other@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_adopter_example_other@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "service_adopter_example_other1@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_adopter_example_other1@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "service_adopter_example_other2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_adopter_example_other2@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "service_adopter_example_other3@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_adopter_example_other3@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "service_adopter_example_other4@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_adopter_example_other4@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "service_adopter_example_resident@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "service_adopter_example_resident@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
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