Skip to content

Commit 09b4b28

Browse files
authored
Merge pull request #538 from Esri/df/formViewPreambles
`FormView` - Align preambles
2 parents 540967a + 0d1c266 commit 09b4b28

19 files changed

+86
-70
lines changed

Examples/Examples/FormViewExampleView.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/ClearButton.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/FormElementPadding.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/FormHeader.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/FormInputStyle.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2023 Esri.
1+
// Copyright 2023 Esri
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

Sources/ArcGISToolkit/Components/FormView/FormInputs/DateTimeInput.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/FormInputs/FormInputModel.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/FormInputs/InputHeader.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/FormInputs/TextInput.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/FormView.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/FormViewModel.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/GroupView.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2023 Esri.
1+
// Copyright 2023 Esri
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

Sources/ArcGISToolkit/Components/FormView/LengthValidationScheme.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/TextInputFooter.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Components/FormView/TextValidationError.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Sources/ArcGISToolkit/Extensions/ArcGIS/FieldType.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2023 Esri.
1+
// Copyright 2023 Esri
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

Sources/ArcGISToolkit/Extensions/ArcGIS/FormElement.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

UI Test Runner/UI Test Runner/TestViews/FormViewTestView.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

UI Test Runner/UITests/FormViewTests.swift

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// Copyright 2023 Esri.
2-
1+
// Copyright 2023 Esri
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
6-
// http://www.apache.org/licenses/LICENSE-2.0
7-
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
89
// Unless required by applicable law or agreed to in writing, software
910
// distributed under the License is distributed on an "AS IS" BASIS,
1011
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

0 commit comments

Comments
 (0)