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
9134dc59
Commit
9134dc59
authored
May 27, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化腾讯云IM block回调兼容swift nullable
parent
40a61486
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
TUICommonModel.h
TUIKit/TUICore/TUICommonModel.h
+1
-1
TUICommonModel.m
TUIKit/TUICore/TUICommonModel.m
+1
-1
No files found.
TUIKit/TUICore/TUICommonModel.h
View file @
9134dc59
...
...
@@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN
* Get the cached avatar asynchronously, this interface will request the interface to get the current number of group members, and return the avatar
* corresponding to the local cache
*/
+
(
void
)
getCacheGroupAvatar
:(
NSString
*
)
groupID
callback
:(
void
(
^
)(
UIImage
*
,
NSString
*
groupID
))
imageCallBack
;
+
(
void
)
getCacheGroupAvatar
:(
NSString
*
)
groupID
callback
:(
void
(
^
)(
UIImage
*
_Nullable
,
NSString
*
_Nullable
))
imageCallBack
;
/**
* Get the cached avatar synchronously, this interface does not request the network
...
...
TUIKit/TUICore/TUICommonModel.m
View file @
9134dc59
...
...
@@ -437,7 +437,7 @@ static void *gScrollViewBoundsChangeNotificationContext = &gScrollViewBoundsChan
});
}
+
(
void
)
getCacheGroupAvatar
:(
NSString
*
)
groupID
callback
:(
void
(
^
)(
UIImage
*
,
NSString
*
groupID
))
imageCallBack
{
+
(
void
)
getCacheGroupAvatar
:(
NSString
*
)
groupID
callback
:(
void
(
^
)(
UIImage
*
_Nullable
image
,
NSString
*
_Nullable
groupID
))
imageCallBack
{
if
(
groupID
==
nil
||
groupID
.
length
==
0
)
{
if
(
imageCallBack
)
{
imageCallBack
(
nil
,
groupID
);
...
...
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