Extensions
The following extensions are available globally.
-
Declaration
Swift
extension Data: DataParameter, StringParameter
extension Data: BasicType
extension Data: WrapperCompatible
extension Data: AnyModel
-
Declaration
Swift
extension String: StringParameter, AttributedStringParameter, DataParameter, URLParameter
extension String: BasicType
extension String: WrapperCompatible
extension String: AnyModel
extension String: JSONSubscriptType
-
Declaration
Swift
extension NSAttributedString: AttributedStringParameter, StringParameter
-
Declaration
Swift
extension URL: URLParameter, StringParameter
extension URL: BasicType
extension URL: WrapperCompatible
extension URL: AnyModel
-
Declaration
Swift
extension URLRequest: URLParameter, StringParameter
-
Declaration
Swift
extension Array: ArrayParameter
extension Array: BasicType
extension Array: WrapperCompatible
extension Array: AnyModel
extension Array where Element: Equatable
extension Array where Element: AnyModel
extension Array where Element: JSONModel
extension Array where Element: AnyArchivable
extension Array where Element: WebSocketArrayType & UnsignedInteger
-
Declaration
Swift
extension Dictionary: DictionaryParameter
extension Dictionary: BasicType
extension Dictionary: WrapperCompatible
extension Dictionary: AnyModel
-
可选类安全转换,不为nil
See moreDeclaration
Swift
extension Optional
extension Optional where Wrapped: ObjectType
extension Optional where Wrapped: BasicType
-
Declaration
Swift
extension Int: BasicType
extension Int: WrapperCompatible
extension Int: AnyModel
extension Int: JSONSubscriptType
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
Swift
extension UInt8: BasicType
extension UInt8: WrapperCompatible
extension UInt8: AnyModel
extension UInt8: WebSocketArrayType
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
Swift
extension NSLock: LockingProtocol
-
Declaration
-
Declaration
Swift
@objc extension UIView: ReusableViewProtocol
extension UIView: ArrayResultBuilderCompatible
@objc extension UIView: StatisticalViewProtocol
-
适配Swift5.9以下URLAuthenticationChallenge未实现Sendable编译报错问题
-
系统指示器默认实现指示器视图协议
See moreDeclaration
Swift
@objc extension UIActivityIndicatorView: IndicatorViewPlugin, ProgressViewPlugin
-
Declaration
Swift
extension RawRepresentable where Self: _RawEnumProtocol
-
Declaration
Swift
extension UIEdgeInsets
-
Declaration
Swift
extension UILayoutPriority
-
Declaration
Swift
extension UINavigationBar
-
Declaration
Swift
extension JSONEncoder: AnyEncoder
-
Declaration
Swift
extension PropertyListEncoder: AnyEncoder
-
Declaration
Swift
extension JSONDecoder: AnyDecoder
-
Declaration
Swift
extension PropertyListDecoder: AnyDecoder
-
Declaration
Swift
extension DateFormatter: AnyDateFormatter
-
Declaration
Swift
extension ISO8601DateFormatter: AnyDateFormatter
-
Declaration
Swift
extension KeyedDecodingContainer
-
Declaration
Swift
extension KeyedEncodingContainer
-
Declaration
Swift
@_spi(FW) extension UITableViewCell: DynamicLayoutViewProtocol
extension UITableViewCell: SkeletonViewDelegate
-
Declaration
Swift
@_spi(FW) extension UITableViewHeaderFooterView: DynamicLayoutViewProtocol
extension UITableViewHeaderFooterView: SkeletonViewDelegate
-
Declaration
Swift
@_spi(FW) extension UICollectionReusableView: DynamicLayoutViewProtocol
extension UICollectionReusableView: SkeletonViewDelegate
-
注意:需要支持appearance的属性必须标记为objc,否则不会生效
See moreDeclaration
-
Declaration
Swift
extension NSMutableAttributedString
-
Declaration
Swift
extension UIImageView
-
Declaration
Swift
@objc extension UIViewController
-
Declaration
Swift
extension AnyValidator
-
Declaration
Swift
extension AFError: RequestErrorProtocol, UnderlyingErrorProtocol
-
UILabel骨架屏视图数据源扩展
See moreDeclaration
Swift
extension UILabel: SkeletonViewDataSource
-
UITableView骨架屏视图数据源扩展
See moreDeclaration
Swift
extension UITableView: SkeletonViewDataSource
-
UICollectionView骨架屏视图数据源扩展
See moreDeclaration
Swift
extension UICollectionView: SkeletonViewDataSource
-
UICollectionViewCell骨架屏视图代理扩展
See moreDeclaration
Swift
extension UICollectionViewCell
-
Declaration
Swift
extension ScrollView
-
Declaration
Swift
extension List
-
Declaration
Swift
extension Text
-
Declaration
Swift
extension EnvironmentValues
-
Declaration
Swift
extension UIHostingController where Content == AnyView
-
Undocumented
See moreDeclaration
Swift
extension PlatformView: PlatformEntity
-
Undocumented
See moreDeclaration
Swift
extension PlatformViewController: PlatformEntity
-
Declaration
Swift
extension UIPresentationController: PlatformEntity
-
Declaration
Swift
extension EdgeInsets