Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
Hello UTS
提交
a972eeef
H
Hello UTS
项目概览
DCloud
/
Hello UTS
通知
1598
Star
27
Fork
9
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
2
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
Hello UTS
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
2
Issue
2
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
a972eeef
编写于
11月 25, 2022
作者:
DCloud_iOS_XHY
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新 iOS toast 示例
上级
3023e472
变更
16
展开全部
隐藏空白更改
内联
并排
Showing
16 changed file
with
8062 addition
and
2 deletion
+8062
-2
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Headers/ToastSwiftFramework-Swift.h
...ftFramework.framework/Headers/ToastSwiftFramework-Swift.h
+1
-1
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Info.plist
...p-ios/Frameworks/ToastSwiftFramework.framework/Info.plist
+0
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
...ework.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
+0
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo
...module/Project/x86_64-apple-ios-simulator.swiftsourceinfo
+0
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.abi.json
.../ToastSwiftFramework.swiftmodule/arm64-apple-ios.abi.json
+3863
-1
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.private.swiftinterface
...mework.swiftmodule/arm64-apple-ios.private.swiftinterface
+80
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftdoc
.../ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftdoc
+0
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftinterface
...SwiftFramework.swiftmodule/arm64-apple-ios.swiftinterface
+80
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftmodule
...astSwiftFramework.swiftmodule/arm64-apple-ios.swiftmodule
+0
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json
...Framework.swiftmodule/x86_64-apple-ios-simulator.abi.json
+3871
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface
...tmodule/x86_64-apple-ios-simulator.private.swiftinterface
+80
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
...Framework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
+0
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
...ork.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
+80
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
...mework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
+0
-0
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/ToastSwiftFramework
...meworks/ToastSwiftFramework.framework/ToastSwiftFramework
+0
-0
uni_modules/uts-toast/utssdk/app-ios/config.json
uni_modules/uts-toast/utssdk/app-ios/config.json
+7
-0
未找到文件。
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Headers/ToastSwiftFramework-Swift.h
浏览文件 @
a972eeef
#if 0
#elif
defined
(
__arm64__
)
&&
__arm64__
// Generated by Apple Swift version 5.7
effective-4.2 (swiftlang-5.7.0.127.4 clang-1400.0.29.50
)
// Generated by Apple Swift version 5.7
.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51
)
#ifndef TOASTSWIFTFRAMEWORK_SWIFT_H
#define TOASTSWIFTFRAMEWORK_SWIFT_H
#pragma clang diagnostic push
...
...
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Info.plist
浏览文件 @
a972eeef
无法预览此类型文件
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
浏览文件 @
a972eeef
无法预览此类型文件
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo
0 → 100644
浏览文件 @
a972eeef
文件已添加
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.abi.json
浏览文件 @
a972eeef
此差异已折叠。
点击以展开。
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.private.swiftinterface
0 → 100644
浏览文件 @
a972eeef
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name ToastSwiftFramework
// swift-module-flags-ignorable: -enable-bare-slash-regex
import ObjectiveC
import Swift
import UIKit
import _Concurrency
import _StringProcessing
extension UIKit.UIView {
@_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreFoundation.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?)
@_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreFoundation.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func hideToast()
@_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView)
@_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true)
@_Concurrency.MainActor(unsafe) public func clearToastQueue()
@_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition)
@_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreFoundation.CGPoint)
@_Concurrency.MainActor(unsafe) public func hideToastActivity()
@_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView
}
public struct ToastStyle {
public init()
public var backgroundColor: UIKit.UIColor
public var titleColor: UIKit.UIColor
public var messageColor: UIKit.UIColor
public var maxWidthPercentage: CoreFoundation.CGFloat {
get
set
}
public var maxHeightPercentage: CoreFoundation.CGFloat {
get
set
}
public var horizontalPadding: CoreFoundation.CGFloat
public var verticalPadding: CoreFoundation.CGFloat
public var cornerRadius: CoreFoundation.CGFloat
public var titleFont: UIKit.UIFont
public var messageFont: UIKit.UIFont
public var titleAlignment: UIKit.NSTextAlignment
public var messageAlignment: UIKit.NSTextAlignment
public var titleNumberOfLines: Swift.Int
public var messageNumberOfLines: Swift.Int
public var displayShadow: Swift.Bool
public var shadowColor: UIKit.UIColor
public var shadowOpacity: Swift.Float {
get
set
}
public var shadowRadius: CoreFoundation.CGFloat
public var shadowOffset: CoreFoundation.CGSize
public var imageSize: CoreFoundation.CGSize
public var activitySize: CoreFoundation.CGSize
public var fadeDuration: Swift.Double
public var activityIndicatorColor: UIKit.UIColor
public var activityBackgroundColor: UIKit.UIColor
}
@_hasMissingDesignatedInitializers public class ToastManager {
public static let shared: ToastSwiftFramework.ToastManager
public var style: ToastSwiftFramework.ToastStyle
public var isTapToDismissEnabled: Swift.Bool
public var isQueueEnabled: Swift.Bool
public var duration: Swift.Double
public var position: ToastSwiftFramework.ToastPosition
@objc deinit
}
public enum ToastPosition {
case top
case center
case bottom
public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
extension ToastSwiftFramework.ToastPosition : Swift.Equatable {}
extension ToastSwiftFramework.ToastPosition : Swift.Hashable {}
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftdoc
浏览文件 @
a972eeef
无法预览此类型文件
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftinterface
0 → 100644
浏览文件 @
a972eeef
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name ToastSwiftFramework
// swift-module-flags-ignorable: -enable-bare-slash-regex
import ObjectiveC
import Swift
import UIKit
import _Concurrency
import _StringProcessing
extension UIKit.UIView {
@_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreFoundation.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?)
@_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreFoundation.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func hideToast()
@_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView)
@_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true)
@_Concurrency.MainActor(unsafe) public func clearToastQueue()
@_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition)
@_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreFoundation.CGPoint)
@_Concurrency.MainActor(unsafe) public func hideToastActivity()
@_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView
}
public struct ToastStyle {
public init()
public var backgroundColor: UIKit.UIColor
public var titleColor: UIKit.UIColor
public var messageColor: UIKit.UIColor
public var maxWidthPercentage: CoreFoundation.CGFloat {
get
set
}
public var maxHeightPercentage: CoreFoundation.CGFloat {
get
set
}
public var horizontalPadding: CoreFoundation.CGFloat
public var verticalPadding: CoreFoundation.CGFloat
public var cornerRadius: CoreFoundation.CGFloat
public var titleFont: UIKit.UIFont
public var messageFont: UIKit.UIFont
public var titleAlignment: UIKit.NSTextAlignment
public var messageAlignment: UIKit.NSTextAlignment
public var titleNumberOfLines: Swift.Int
public var messageNumberOfLines: Swift.Int
public var displayShadow: Swift.Bool
public var shadowColor: UIKit.UIColor
public var shadowOpacity: Swift.Float {
get
set
}
public var shadowRadius: CoreFoundation.CGFloat
public var shadowOffset: CoreFoundation.CGSize
public var imageSize: CoreFoundation.CGSize
public var activitySize: CoreFoundation.CGSize
public var fadeDuration: Swift.Double
public var activityIndicatorColor: UIKit.UIColor
public var activityBackgroundColor: UIKit.UIColor
}
@_hasMissingDesignatedInitializers public class ToastManager {
public static let shared: ToastSwiftFramework.ToastManager
public var style: ToastSwiftFramework.ToastStyle
public var isTapToDismissEnabled: Swift.Bool
public var isQueueEnabled: Swift.Bool
public var duration: Swift.Double
public var position: ToastSwiftFramework.ToastPosition
@objc deinit
}
public enum ToastPosition {
case top
case center
case bottom
public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
extension ToastSwiftFramework.ToastPosition : Swift.Equatable {}
extension ToastSwiftFramework.ToastPosition : Swift.Hashable {}
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/arm64-apple-ios.swiftmodule
浏览文件 @
a972eeef
无法预览此类型文件
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json
0 → 100644
浏览文件 @
a972eeef
此差异已折叠。
点击以展开。
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface
0 → 100644
浏览文件 @
a972eeef
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios8.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name ToastSwiftFramework
// swift-module-flags-ignorable: -enable-bare-slash-regex
import ObjectiveC
import Swift
import UIKit
import _Concurrency
import _StringProcessing
extension UIKit.UIView {
@_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreFoundation.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?)
@_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreFoundation.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func hideToast()
@_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView)
@_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true)
@_Concurrency.MainActor(unsafe) public func clearToastQueue()
@_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition)
@_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreFoundation.CGPoint)
@_Concurrency.MainActor(unsafe) public func hideToastActivity()
@_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView
}
public struct ToastStyle {
public init()
public var backgroundColor: UIKit.UIColor
public var titleColor: UIKit.UIColor
public var messageColor: UIKit.UIColor
public var maxWidthPercentage: CoreFoundation.CGFloat {
get
set
}
public var maxHeightPercentage: CoreFoundation.CGFloat {
get
set
}
public var horizontalPadding: CoreFoundation.CGFloat
public var verticalPadding: CoreFoundation.CGFloat
public var cornerRadius: CoreFoundation.CGFloat
public var titleFont: UIKit.UIFont
public var messageFont: UIKit.UIFont
public var titleAlignment: UIKit.NSTextAlignment
public var messageAlignment: UIKit.NSTextAlignment
public var titleNumberOfLines: Swift.Int
public var messageNumberOfLines: Swift.Int
public var displayShadow: Swift.Bool
public var shadowColor: UIKit.UIColor
public var shadowOpacity: Swift.Float {
get
set
}
public var shadowRadius: CoreFoundation.CGFloat
public var shadowOffset: CoreFoundation.CGSize
public var imageSize: CoreFoundation.CGSize
public var activitySize: CoreFoundation.CGSize
public var fadeDuration: Swift.Double
public var activityIndicatorColor: UIKit.UIColor
public var activityBackgroundColor: UIKit.UIColor
}
@_hasMissingDesignatedInitializers public class ToastManager {
public static let shared: ToastSwiftFramework.ToastManager
public var style: ToastSwiftFramework.ToastStyle
public var isTapToDismissEnabled: Swift.Bool
public var isQueueEnabled: Swift.Bool
public var duration: Swift.Double
public var position: ToastSwiftFramework.ToastPosition
@objc deinit
}
public enum ToastPosition {
case top
case center
case bottom
public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
extension ToastSwiftFramework.ToastPosition : Swift.Equatable {}
extension ToastSwiftFramework.ToastPosition : Swift.Hashable {}
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
0 → 100644
浏览文件 @
a972eeef
文件已添加
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
0 → 100644
浏览文件 @
a972eeef
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios8.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name ToastSwiftFramework
// swift-module-flags-ignorable: -enable-bare-slash-regex
import ObjectiveC
import Swift
import UIKit
import _Concurrency
import _StringProcessing
extension UIKit.UIView {
@_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, title: Swift.String? = nil, image: UIKit.UIImage? = nil, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func makeToast(_ message: Swift.String?, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreFoundation.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?)
@_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, position: ToastSwiftFramework.ToastPosition = ToastManager.shared.position, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func showToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval = ToastManager.shared.duration, point: CoreFoundation.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public func hideToast()
@_Concurrency.MainActor(unsafe) public func hideToast(_ toast: UIKit.UIView)
@_Concurrency.MainActor(unsafe) public func hideAllToasts(includeActivity: Swift.Bool = false, clearQueue: Swift.Bool = true)
@_Concurrency.MainActor(unsafe) public func clearToastQueue()
@_Concurrency.MainActor(unsafe) public func makeToastActivity(_ position: ToastSwiftFramework.ToastPosition)
@_Concurrency.MainActor(unsafe) public func makeToastActivity(_ point: CoreFoundation.CGPoint)
@_Concurrency.MainActor(unsafe) public func hideToastActivity()
@_Concurrency.MainActor(unsafe) public func toastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: ToastSwiftFramework.ToastStyle) throws -> UIKit.UIView
}
public struct ToastStyle {
public init()
public var backgroundColor: UIKit.UIColor
public var titleColor: UIKit.UIColor
public var messageColor: UIKit.UIColor
public var maxWidthPercentage: CoreFoundation.CGFloat {
get
set
}
public var maxHeightPercentage: CoreFoundation.CGFloat {
get
set
}
public var horizontalPadding: CoreFoundation.CGFloat
public var verticalPadding: CoreFoundation.CGFloat
public var cornerRadius: CoreFoundation.CGFloat
public var titleFont: UIKit.UIFont
public var messageFont: UIKit.UIFont
public var titleAlignment: UIKit.NSTextAlignment
public var messageAlignment: UIKit.NSTextAlignment
public var titleNumberOfLines: Swift.Int
public var messageNumberOfLines: Swift.Int
public var displayShadow: Swift.Bool
public var shadowColor: UIKit.UIColor
public var shadowOpacity: Swift.Float {
get
set
}
public var shadowRadius: CoreFoundation.CGFloat
public var shadowOffset: CoreFoundation.CGSize
public var imageSize: CoreFoundation.CGSize
public var activitySize: CoreFoundation.CGSize
public var fadeDuration: Swift.Double
public var activityIndicatorColor: UIKit.UIColor
public var activityBackgroundColor: UIKit.UIColor
}
@_hasMissingDesignatedInitializers public class ToastManager {
public static let shared: ToastSwiftFramework.ToastManager
public var style: ToastSwiftFramework.ToastStyle
public var isTapToDismissEnabled: Swift.Bool
public var isQueueEnabled: Swift.Bool
public var duration: Swift.Double
public var position: ToastSwiftFramework.ToastPosition
@objc deinit
}
public enum ToastPosition {
case top
case center
case bottom
public static func == (a: ToastSwiftFramework.ToastPosition, b: ToastSwiftFramework.ToastPosition) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
extension ToastSwiftFramework.ToastPosition : Swift.Equatable {}
extension ToastSwiftFramework.ToastPosition : Swift.Hashable {}
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/Modules/ToastSwiftFramework.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
0 → 100644
浏览文件 @
a972eeef
文件已添加
uni_modules/uts-toast/utssdk/app-ios/Frameworks/ToastSwiftFramework.framework/ToastSwiftFramework
浏览文件 @
a972eeef
无法预览此类型文件
uni_modules/uts-toast/utssdk/app-ios/config.json
0 → 100644
浏览文件 @
a972eeef
{
"deploymentTarget"
:
"9.0"
,
"validArchitectures"
:
[
"arm64"
,
"x86_64"
]
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录