Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VirtualCard-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
APP
VirtualCard-iOS
Commits
b8e1ce00
Commit
b8e1ce00
authored
May 28, 2020
by
guanghui.shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹窗,智能搜索修改
parent
0cf20e24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
QGActivityPopManager.m
...es/Card/Function/QGActivityManager/QGActivityPopManager.m
+5
-2
SystemManager.m
VirtualPayment/VirtualPayment/QGUtils/QGTool/SystemManager.m
+7
-3
No files found.
VirtualPayment/VirtualPayment/QGClasses/Card/Function/QGActivityManager/QGActivityPopManager.m
View file @
b8e1ce00
...
@@ -104,7 +104,10 @@ static NSString * floats_pop_sets = @"floats_pop_sets";
...
@@ -104,7 +104,10 @@ static NSString * floats_pop_sets = @"floats_pop_sets";
self
.
popIndexs
=
[
NSMutableArray
arrayWithCapacity
:
1
];
self
.
popIndexs
=
[
NSMutableArray
arrayWithCapacity
:
1
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
removeAllPopViews
)
name
:
ModelCenterUserLoginNotification
object
:
nil
];
self
.
floatsPopViews
=
[
NSMutableArray
array
];
self
.
activePopViews
=
[
NSMutableArray
array
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
removeAllPopViews
)
name
:
ModelCenterUserLogOutNotification
object
:
nil
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
resetAllPopViews
)
name
:
ModelCenterUserLoginNotification
object
:
nil
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
resetAllPopViews
)
name
:
ModelCenterUserLoginNotification
object
:
nil
];
}
}
return
self
;
return
self
;
...
@@ -142,7 +145,7 @@ static NSString * floats_pop_sets = @"floats_pop_sets";
...
@@ -142,7 +145,7 @@ static NSString * floats_pop_sets = @"floats_pop_sets";
/// 重新设置所有的弹窗
/// 重新设置所有的弹窗
-
(
void
)
resetAllPopViews
-
(
void
)
resetAllPopViews
{
{
[
self
removeAllPopViews
];
}
}
#pragma mark - 网络模块
#pragma mark - 网络模块
...
...
VirtualPayment/VirtualPayment/QGUtils/QGTool/SystemManager.m
View file @
b8e1ce00
...
@@ -216,9 +216,13 @@ static SystemManager * shareManager = nil;
...
@@ -216,9 +216,13 @@ static SystemManager * shareManager = nil;
if
([
self
validatePasteboardString
])
{
if
([
self
validatePasteboardString
])
{
QGPasteAlertView
*
alertView
=
[[
QGPasteAlertView
alloc
]
initWithPasteStr
:
pasteboardStr
];
QGPasteAlertView
*
alertView
=
[[
QGPasteAlertView
alloc
]
initWithPasteStr
:
pasteboardStr
];
[
alertView
showInView
:
nil
];
[
alertView
showInView
:
nil
];
//清空粘贴板
[
UIPasteboard
generalPasteboard
].
string
=
@""
;
//保存
[
QGCacheManager
.
shareCacheManager
removeAppConfigWithKeys
:@[
kPasteboardCurrentContentKey
]];
[[
QGCacheManager
shareCacheManager
]
setAPPConfigValue
:
pasteboardStr
forKey
:
kPasteboardCurrentContentKey
];
self
.
pasteboardString
=
pasteboardStr
;
// //清空粘贴板
// [UIPasteboard generalPasteboard].string = @"";
// [QGCacheManager.shareCacheManager removeAppConfigWithKeys:@[kPasteboardCurrentContentKey]];
__block
NSString
*
searchText
=
pasteboardStr
;
__block
NSString
*
searchText
=
pasteboardStr
;
alertView
.
searchBlock
=
^
{
alertView
.
searchBlock
=
^
{
NSMutableDictionary
*
param
=
[
NSMutableDictionary
dictionary
];
NSMutableDictionary
*
param
=
[
NSMutableDictionary
dictionary
];
...
...
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