Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
3aeac477
Commit
3aeac477
authored
Dec 21, 2023
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 不使用的代码
parent
5b930306
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+0
-6
String-Extension.swift
galaxy/galaxy/Classes/Tools/Extention/String-Extension.swift
+1
-1
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
3aeac477
...
...
@@ -77,14 +77,8 @@ extension AppDelegate {
let
v1
=
YHNavigationController
(
rootViewController
:
YHHomeViewController
())
let
v2
=
YHNavigationController
(
rootViewController
:
YHMyViewController
())
// let vc3 = YHHomeViewController()
// let v3 = BsNavigationController(rootViewController: vc3)
// let v4 = BsNavigationController(rootViewController: YHHomeViewController())
v1
.
tabBarItem
=
ESTabBarItem
.
init
(
YHBasicContentView
(),
title
:
"智慧服务"
,
image
:
UIImage
(
named
:
"home"
),
selectedImage
:
UIImage
(
named
:
"home_1"
))
v2
.
tabBarItem
=
ESTabBarItem
.
init
(
YHBasicContentView
(),
title
:
"我的"
,
image
:
UIImage
(
named
:
"find"
),
selectedImage
:
UIImage
(
named
:
"find_1"
))
// v3.tabBarItem = ESTabBarItem.init(BsBouncesContentView(), title: "安睡", image: UIImage(named: "photo"), selectedImage: UIImage(named: "photo_1"))
// v4.tabBarItem = ESTabBarItem.init(BsBouncesContentView(), title: "我的", image: UIImage(named: "me"), selectedImage: UIImage(named: "me_1"))
tabBarController
.
viewControllers
=
[
v1
,
v2
]
tabBarController
.
tabBar
.
backgroundColor
=
.
white
...
...
galaxy/galaxy/Classes/Tools/Extention/String-Extension.swift
View file @
3aeac477
...
...
@@ -172,5 +172,5 @@ extension String {
/// - method: 所在方法
/// - line: 所在行
public
func
printLog
<
T
>
(
_
message
:
T
,
file
:
String
=
#file
,
method
:
String
=
#function
,
line
:
Int
=
#line
)
{
print
(
"
\
(
(
file
as
NSString
)
.
lastPathComponent
)
[
\(
line
)
],
\(
method
)
:
\(
message
)
"
)
print
(
"
\
n
[文件]:
\(
(
file
as
NSString
)
.
lastPathComponent
)
[所在行]:
\(
line
)
,[方法名称]:
\(
method
)
,[具体信息]
:
\(
message
)
"
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment