File tree Expand file tree Collapse file tree 8 files changed +22
-20
lines changed
SlidersExamples.xcodeproj Expand file tree Collapse file tree 8 files changed +22
-20
lines changed Original file line number Diff line number Diff line change 20
20
<string >$(MARKETING_VERSION) </string >
21
21
<key >CFBundleVersion </key >
22
22
<string >1 </string >
23
+ <key >LSApplicationCategoryType </key >
24
+ <string >public.app-category.developer-tools </string >
23
25
<key >LSMinimumSystemVersion </key >
24
26
<string >$(MACOSX_DEPLOYMENT_TARGET) </string >
25
27
<key >NSMainStoryboardFile </key >
Original file line number Diff line number Diff line change 573
573
DEBUG_INFORMATION_FORMAT = dwarf;
574
574
DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER = YES;
575
575
DEVELOPMENT_ASSET_PATHS = "\"SlidersExamples iOS\"/Preview\\ Content";
576
- DEVELOPMENT_TEAM = Z8L4G5WZR3 ;
576
+ DEVELOPMENT_TEAM = "" ;
577
577
ENABLE_PREVIEWS = YES;
578
578
ENABLE_STRICT_OBJC_MSGSEND = YES;
579
579
ENABLE_TESTABILITY = YES;
652
652
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
653
653
DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER = YES;
654
654
DEVELOPMENT_ASSET_PATHS = "\"SlidersExamples iOS\"/Preview\\ Content";
655
- DEVELOPMENT_TEAM = Z8L4G5WZR3 ;
655
+ DEVELOPMENT_TEAM = "" ;
656
656
ENABLE_NS_ASSERTIONS = NO;
657
657
ENABLE_PREVIEWS = YES;
658
658
ENABLE_STRICT_OBJC_MSGSEND = YES;
Original file line number Diff line number Diff line change 1
1
import SwiftUI
2
2
3
- struct AnyPointSliderStyle : PointSliderStyle {
3
+ public struct AnyPointSliderStyle : PointSliderStyle {
4
4
private let styleMakeBody : ( PointSliderStyle . Configuration ) -> AnyView
5
5
6
- init < S: PointSliderStyle > ( _ style: S ) {
6
+ public init < S: PointSliderStyle > ( _ style: S ) {
7
7
self . styleMakeBody = style. makeTypeErasedBody
8
8
}
9
9
10
- func makeBody( configuration: PointSliderStyle . Configuration ) -> AnyView {
10
+ public func makeBody( configuration: PointSliderStyle . Configuration ) -> AnyView {
11
11
self . styleMakeBody ( configuration)
12
12
}
13
13
}
Original file line number Diff line number Diff line change 1
1
import SwiftUI
2
2
3
- extension EnvironmentValues {
3
+ public extension EnvironmentValues {
4
4
var pointSliderStyle : AnyPointSliderStyle {
5
5
get {
6
6
return self [ PointSliderStyleKey . self]
@@ -17,9 +17,9 @@ struct PointSliderStyleKey: EnvironmentKey {
17
17
)
18
18
}
19
19
20
- extension View {
20
+ public extension View {
21
21
/// Sets the style for `PointSlider` within the environment of `self`.
22
- public func pointSliderStyle< S> ( _ style: S ) -> some View where S : PointSliderStyle {
22
+ @ inlinable func pointSliderStyle< S> ( _ style: S ) -> some View where S : PointSliderStyle {
23
23
self . environment ( \. pointSliderStyle, AnyPointSliderStyle ( style) )
24
24
}
25
25
}
Original file line number Diff line number Diff line change 1
1
import SwiftUI
2
2
3
- struct AnyRangeSliderStyle : RangeSliderStyle {
3
+ public struct AnyRangeSliderStyle : RangeSliderStyle {
4
4
private let styleMakeBody : ( RangeSliderStyle . Configuration ) -> AnyView
5
5
6
- init < S: RangeSliderStyle > ( _ style: S ) {
6
+ public init < S: RangeSliderStyle > ( _ style: S ) {
7
7
self . styleMakeBody = style. makeTypeErasedBody
8
8
}
9
9
10
- func makeBody( configuration: RangeSliderStyle . Configuration ) -> AnyView {
10
+ public func makeBody( configuration: RangeSliderStyle . Configuration ) -> AnyView {
11
11
self . styleMakeBody ( configuration)
12
12
}
13
13
}
Original file line number Diff line number Diff line change 1
1
import SwiftUI
2
2
3
- extension EnvironmentValues {
3
+ public extension EnvironmentValues {
4
4
var rangeSliderStyle : AnyRangeSliderStyle {
5
5
get {
6
6
return self [ RangeSliderStyleKey . self]
@@ -17,9 +17,9 @@ struct RangeSliderStyleKey: EnvironmentKey {
17
17
)
18
18
}
19
19
20
- extension View {
20
+ public extension View {
21
21
/// Sets the style for `RangeSlider` within the environment of `self`.
22
- public func rangeSliderStyle< S> ( _ style: S ) -> some View where S : RangeSliderStyle {
22
+ @ inlinable func rangeSliderStyle< S> ( _ style: S ) -> some View where S : RangeSliderStyle {
23
23
self . environment ( \. rangeSliderStyle, AnyRangeSliderStyle ( style) )
24
24
}
25
25
}
Original file line number Diff line number Diff line change 1
1
import SwiftUI
2
2
3
- struct AnyValueSliderStyle : ValueSliderStyle {
3
+ public struct AnyValueSliderStyle : ValueSliderStyle {
4
4
private let styleMakeBody : ( ValueSliderStyle . Configuration ) -> AnyView
5
5
6
- init < S: ValueSliderStyle > ( _ style: S ) {
6
+ public init < S: ValueSliderStyle > ( _ style: S ) {
7
7
self . styleMakeBody = style. makeTypeErasedBody
8
8
}
9
9
10
- func makeBody( configuration: ValueSliderStyle . Configuration ) -> AnyView {
10
+ public func makeBody( configuration: ValueSliderStyle . Configuration ) -> AnyView {
11
11
self . styleMakeBody ( configuration)
12
12
}
13
13
}
Original file line number Diff line number Diff line change 1
1
import SwiftUI
2
2
3
- extension EnvironmentValues {
3
+ public extension EnvironmentValues {
4
4
var valueSliderStyle : AnyValueSliderStyle {
5
5
get {
6
6
return self [ ValueSliderStyleKey . self]
@@ -17,9 +17,9 @@ struct ValueSliderStyleKey: EnvironmentKey {
17
17
)
18
18
}
19
19
20
- extension View {
20
+ public extension View {
21
21
/// Sets the style for `ValueSlider` within the environment of `self`.
22
- public func valueSliderStyle< S> ( _ style: S ) -> some View where S : ValueSliderStyle {
22
+ @ inlinable func valueSliderStyle< S> ( _ style: S ) -> some View where S : ValueSliderStyle {
23
23
self . environment ( \. valueSliderStyle, AnyValueSliderStyle ( style) )
24
24
}
25
25
}
You can’t perform that action at this time.
0 commit comments