Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OffcnIMSDKiOS
Overview
Overview
Details
Activity
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
opensource
OffcnIMSDKiOS
Commits
bd57f312
Commit
bd57f312
authored
Sep 02, 2020
by
zhangyunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
32c62a85
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Main.storyboard
OffcnIMSDKiOS/Base.lproj/Main.storyboard
+3
-3
ViewController.mm
OffcnIMSDKiOS/ViewController.mm
+1
-1
No files found.
OffcnIMSDKiOS/Base.lproj/Main.storyboard
View file @
bd57f312
...
...
@@ -203,10 +203,10 @@
</connections>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hBY-Ug-jR2"
>
<rect
key=
"frame"
x=
"2
98"
y=
"387"
width=
"6
2"
height=
"30"
/>
<rect
key=
"frame"
x=
"2
68"
y=
"387"
width=
"9
2"
height=
"30"
/>
<color
key=
"backgroundColor"
white=
"0.66666666669999997"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<state
key=
"normal"
title=
"压测暂停"
/>
<state
key=
"selected"
title=
"压测开始"
/>
<state
key=
"normal"
title=
"压测暂停
状态
"
/>
<state
key=
"selected"
title=
"压测开始
状态
"
/>
<connections>
<action
selector=
"pressureTest:"
destination=
"BYZ-38-t0r"
eventType=
"touchUpInside"
id=
"elf-4J-COs"
/>
</connections>
...
...
OffcnIMSDKiOS/ViewController.mm
View file @
bd57f312
...
...
@@ -52,7 +52,7 @@
[
self
.
timer
setFireDate
:[
NSDate
distantFuture
]];
}
-
(
void
)
loop
{
NSString
*
randomStr
=
[
NSString
stringWithFormat
:
@"%d"
,
arc4random_uniform
(
1000000
)];
NSString
*
randomStr
=
[
NSString
stringWithFormat
:
@"
zyj
%d"
,
arc4random_uniform
(
1000000
)];
[[
OffcnIMSDKiOS
defaultService
]
sendMsgWithMsg_fromID
:
self
.
fromId
msg_toID
:
self
.
toId
msg_type
:
OffcnSDKMsgTypeText
text
:
randomStr
filePath
:
nil
Finished
:^
(
BOOL
success
,
OffcnIMSendMsgModel
*
sendMsgModel
,
NSString
*
errorMessage
)
{
if
(
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