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
db2f3a41
Commit
db2f3a41
authored
Jul 02, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暴露看一看通知
parent
c9af43e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
YHPeopleSuccessView.swift
...Classes/Modules/Community(社区)/V/YHPeopleSuccessView.swift
+6
-1
YhConstant.swift
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHPeopleSuccessView.swift
View file @
db2f3a41
...
...
@@ -114,7 +114,7 @@ class YHPeopleSuccessView: UIView {
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
button
.
layer
.
cornerRadius
=
kCornerRadius3
button
.
clipsToBounds
=
true
button
.
addTarget
(
self
,
action
:
#selector(
dismiss
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
toLookPeople
)
,
for
:
.
touchUpInside
)
return
button
}()
centerView
.
addSubview
(
bottomButton
)
...
...
@@ -137,6 +137,11 @@ class YHPeopleSuccessView: UIView {
@objc
func
dismiss
()
{
removeFromSuperview
()
}
@objc
func
toLookPeople
()
{
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didLookPeopleSuccessNotifiction
,
object
:
nil
)
dismiss
()
}
}
extension
YHPeopleSuccessView
:
UIGestureRecognizerDelegate
{
...
...
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
View file @
db2f3a41
...
...
@@ -259,6 +259,8 @@ extension YhConstant {
//接收到消息推送
public
static
let
didRevMsgNotifiction
=
Notification
.
Name
(
rawValue
:
"com.yinhe.didRevMsgNotifiction"
)
public
static
let
didLookPeopleSuccessNotifiction
=
Notification
.
Name
(
rawValue
:
"com.yinhe.look.people.success"
)
}
}
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