Merge pull request #127 from master-nevi/master
Update availability for all extensions for consistency
This commit is contained in:
commit
0c23726533
|
@ -52,6 +52,7 @@ extension PlatformImage.Orientation {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
|
||||||
extension Image.Orientation {
|
extension Image.Orientation {
|
||||||
@inlinable var toPlatform: PlatformImage.Orientation {
|
@inlinable var toPlatform: PlatformImage.Orientation {
|
||||||
switch self {
|
switch self {
|
||||||
|
|
|
@ -115,6 +115,7 @@ public final class ImageManager : ObservableObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Completion Handler
|
// Completion Handler
|
||||||
|
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
|
||||||
extension ImageManager {
|
extension ImageManager {
|
||||||
/// Provide the action when image load fails.
|
/// Provide the action when image load fails.
|
||||||
/// - Parameters:
|
/// - Parameters:
|
||||||
|
@ -157,4 +158,5 @@ extension ImageManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Indicator Reportor
|
// Indicator Reportor
|
||||||
|
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
|
||||||
extension ImageManager: IndicatorReportable {}
|
extension ImageManager: IndicatorReportable {}
|
||||||
|
|
|
@ -122,6 +122,8 @@ public class ProgressIndicatorWrapper : PlatformView {
|
||||||
addSubview(wrapped)
|
addSubview(wrapped)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
|
||||||
extension PlatformView {
|
extension PlatformView {
|
||||||
/// Adds constraints to this `UIView` instances `superview` object to make sure this always has the same size as the superview.
|
/// Adds constraints to this `UIView` instances `superview` object to make sure this always has the same size as the superview.
|
||||||
/// Please note that this has no effect if its `superview` is `nil` – add this `UIView` instance as a subview before calling this.
|
/// Please note that this has no effect if its `superview` is `nil` – add this `UIView` instance as a subview before calling this.
|
||||||
|
|
Loading…
Reference in New Issue