This repository was archived by the owner on Dec 27, 2020. It is now read-only.
File tree 3 files changed +13
-9
lines changed
3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 812
812
GCC_WARN_UNINITIALIZED_AUTOS = YES;
813
813
GCC_WARN_UNUSED_FUNCTION = YES;
814
814
GCC_WARN_UNUSED_VARIABLE = YES;
815
+ IPHONEOS_DEPLOYMENT_TARGET = 13.1;
816
+ MACOSX_DEPLOYMENT_TARGET = 10.15;
815
817
ONLY_ACTIVE_ARCH = YES;
816
818
};
817
819
name = Debug;
844
846
GCC_WARN_UNINITIALIZED_AUTOS = YES;
845
847
GCC_WARN_UNUSED_FUNCTION = YES;
846
848
GCC_WARN_UNUSED_VARIABLE = YES;
849
+ IPHONEOS_DEPLOYMENT_TARGET = 13.1;
850
+ MACOSX_DEPLOYMENT_TARGET = 10.15;
847
851
};
848
852
name = Release;
849
853
};
903
907
GCC_WARN_UNUSED_FUNCTION = YES;
904
908
GCC_WARN_UNUSED_VARIABLE = YES;
905
909
INFOPLIST_FILE = "GridDemo iOS/Info.plist";
906
- IPHONEOS_DEPLOYMENT_TARGET = 13.2 ;
910
+ IPHONEOS_DEPLOYMENT_TARGET = 13.1 ;
907
911
LD_RUNPATH_SEARCH_PATHS = (
908
912
"$(inherited)",
909
913
"@executable_path/Frameworks",
971
975
GCC_WARN_UNUSED_FUNCTION = YES;
972
976
GCC_WARN_UNUSED_VARIABLE = YES;
973
977
INFOPLIST_FILE = "GridDemo iOS/Info.plist";
974
- IPHONEOS_DEPLOYMENT_TARGET = 13.2 ;
978
+ IPHONEOS_DEPLOYMENT_TARGET = 13.1 ;
975
979
LD_RUNPATH_SEARCH_PATHS = (
976
980
"$(inherited)",
977
981
"@executable_path/Frameworks",
Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ struct CardsView: View {
120
120
```
121
121
122
122
## SDKs
123
- - iOS 13+
124
- - Mac Catalyst 13.0 +
123
+ - iOS 13.1 +
124
+ - Mac Catalyst 13.1 +
125
125
- macOS 10.15+
126
126
- watchOS 6+
127
127
- Xcode 11.0+
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ public struct Grid<Content>: View where Content: View {
24
24
. transformPreference ( GridPreferencesKey . self) {
25
25
self . style. transform ( preferences: & $0, in: geometry. size)
26
26
}
27
- . onPreferenceChange ( GridPreferencesKey . self) { preferences in
28
- self . preferences = preferences
29
- }
30
-
27
+ }
28
+ . onPreferenceChange ( GridPreferencesKey . self) { preferences in
29
+ self . preferences = preferences
31
30
}
32
31
. frame (
33
32
width: self . style. axis == . horizontal ? self . preferences. size. width : nil ,
34
- height: self . style. axis == . vertical ? self . preferences. size. height : nil
33
+ height: self . style. axis == . vertical ? self . preferences. size. height : nil ,
34
+ alignment: . topLeading
35
35
)
36
36
}
37
37
}
You can’t perform that action at this time.
0 commit comments