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
f7fe092a
Commit
f7fe092a
authored
Jun 04, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
哎
parent
88721a74
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
0 deletions
+76
-0
YHHomeBannerView.swift
.../galaxy/Classes/Modules/Home(首页)/V/YHHomeBannerView.swift
+0
-0
YHVoiceDemo.swift
galaxy/galaxy/Classes/Tools/Voice/YHVoiceDemo.swift
+75
-0
galaxy-Bridge-Header.h
galaxy/galaxy/Res/galaxy-Bridge-Header.h
+1
-0
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeBannerView.swift
View file @
f7fe092a
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Tools/Voice/YHVoiceDemo.swift
0 → 100644
View file @
f7fe092a
//
// YHVoiceDemo.swift
// galaxy
//
// Created by EDY on 2025/6/4.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHVoiceDemo
:
YHBaseViewController
{
var
start
:
UIButton
!
var
end
:
UIButton
!
var
result
:
UILabel
!
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
setupUI
()
}
}
extension
YHVoiceDemo
{
func
setupUI
()
{
// let recognizer = NuanceManager()
start
=
{
let
view
=
UIButton
()
view
.
setTitle
(
"start"
,
for
:
.
normal
)
view
.
setTitleColor
(
.
black
,
for
:
.
normal
)
view
.
addTarget
(
self
,
action
:
#selector(
startClick
)
,
for
:
.
touchUpInside
)
return
view
}()
view
.
addSubview
(
start
)
start
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
k_Height_NavigationtBarAndStatuBar
)
make
.
left
.
equalToSuperview
()
make
.
height
.
equalTo
(
44
)
make
.
width
.
equalTo
(
KScreenWidth
/
2
)
}
end
=
{
let
view
=
UIButton
()
view
.
setTitle
(
"end"
,
for
:
.
normal
)
view
.
setTitleColor
(
.
black
,
for
:
.
normal
)
view
.
addTarget
(
self
,
action
:
#selector(
endClick
)
,
for
:
.
touchUpInside
)
return
view
}()
view
.
addSubview
(
end
)
end
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
k_Height_NavigationtBarAndStatuBar
)
make
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
44
)
make
.
width
.
equalTo
(
KScreenWidth
/
2
)
}
result
=
{
let
view
=
UILabel
()
view
.
text
=
"demo"
return
view
}()
view
.
addSubview
(
result
)
result
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
k_Height_NavigationtBarAndStatuBar
+
44
)
make
.
right
.
left
.
bottom
.
equalToSuperview
()
}
}
@objc
func
startClick
()
{
}
@objc
func
endClick
()
{
}
}
galaxy/galaxy/Res/galaxy-Bridge-Header.h
View file @
f7fe092a
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
#import "WXApi.h"
#import "WXApi.h"
#import "JPUSHService.h"
#import "JPUSHService.h"
#import <nuisdk/NeoNui.h>
#import <nuisdk/NeoNui.h>
// iOS10注册APNs所需头文件
// iOS10注册APNs所需头文件
#ifdef NSFoundationVersionNumber_iOS_9_x_Max
#ifdef NSFoundationVersionNumber_iOS_9_x_Max
#import <UserNotifications/UserNotifications.h>
#import <UserNotifications/UserNotifications.h>
...
...
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