Skip to content

Merge v.next into main #978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 485 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
485 commits
Select commit Hold shift + click to select a range
ae04fc2
Use `ScannerViewController.scan(_:)`
dfeinzimer Oct 3, 2024
444ef10
Add, use `ScannerViewController.evaluateOutputForAutoScan(_:)`
dfeinzimer Oct 3, 2024
7f2565d
Delete ArcGISToolkit.xcscheme
dfeinzimer Oct 3, 2024
f417f78
Remove `BarcodeScannerInput`, augment `TextInput` to support BarcodeS…
dfeinzimer Oct 3, 2024
c0084d4
Move `ScannerView`, `ScannerViewController` to `CodeScannerView`
dfeinzimer Oct 3, 2024
99cb489
Use `.firstTextBaseline` for `HStack` alignment
dfeinzimer Oct 3, 2024
0dcb76c
`flashIsOn` -> `torchIsOn`
dfeinzimer Oct 3, 2024
0f14e8f
Update FlashlightButton.swift
dfeinzimer Oct 3, 2024
1ff6c2e
Add sensory feedback to `FlashlightButton`
dfeinzimer Oct 4, 2024
1008659
Add haptic feedback for scan
dfeinzimer Oct 4, 2024
feb67ce
Update CodeScannerView.swift
dfeinzimer Oct 4, 2024
4a741ea
Tweak scan overlay rect appearance
dfeinzimer Oct 4, 2024
0646575
Move `fontSize` declaration
dfeinzimer Oct 4, 2024
b3d3c89
Simplify scan text logic
dfeinzimer Oct 4, 2024
331e407
Remove dupe stroke color
dfeinzimer Oct 4, 2024
d29bffc
Tweak `textLayer` font
dfeinzimer Oct 4, 2024
059ad49
Add new guide text layer above scan overlay rect
dfeinzimer Oct 4, 2024
e648a22
Skip extraneous hit testing
dfeinzimer Oct 4, 2024
00a6e1a
Add doc for `ScannerViewController.evaluateOutputForAutoScan(_:)`
dfeinzimer Oct 4, 2024
53e9b77
Refactor `ScannerViewController.evaluateOutputForAutoScan(_:)`
dfeinzimer Oct 4, 2024
9248bbe
Call `evaluateOutputForAutoScan` on main
dfeinzimer Oct 4, 2024
bfaeedf
Hide `FlashlightButton` if torch unavailable
dfeinzimer Oct 4, 2024
72fd0bd
`CodeScannerView` -> `CodeScannerRepresentable`, add `CodeScanner`
dfeinzimer Oct 4, 2024
edf3204
Doc
dfeinzimer Oct 4, 2024
8b95070
Merge pull request #897 from Esri/df/apollo/898
dfeinzimer Oct 4, 2024
beece08
Enable `Carousel.iOS18Implementation`
dfeinzimer Oct 4, 2024
e77ca13
Drop redundant `@MainActor`s
dfeinzimer Oct 4, 2024
5f317a9
Temporarily disable `FeatureFormViewTests`
dfeinzimer Oct 4, 2024
16b3080
Merge pull request #898 from Esri/df/apollo/900
dfeinzimer Oct 4, 2024
747e214
Remove `Sendable` from `SearchSource`
dfeinzimer Oct 5, 2024
522bb6d
Mark `SearchSource` `@MainActor`
dfeinzimer Oct 5, 2024
9f34d98
Merge branch 'v.next' into pr/883
dfeinzimer Oct 5, 2024
74585b7
Build `CameraRequester` into `CodeScanner`
dfeinzimer Oct 7, 2024
e591a47
Use deny action on camera access denied
dfeinzimer Oct 7, 2024
be2e148
Add tap to focus
dfeinzimer Oct 7, 2024
25e0542
Update Test Runner/UI Tests/AttachmentCameraControllerTests.swift
dfeinzimer Oct 7, 2024
fb1303a
Drop `@preconcurrency` where recommended
dfeinzimer Oct 7, 2024
433b813
Update Sources/ArcGISToolkit/Components/Search/SearchSource.swift
dfeinzimer Oct 7, 2024
2b2fe9b
Fix crash on launch in `JobManagerExampleView`
dfeinzimer Oct 8, 2024
149da5b
Add test case 11.1 and associated fixes.
mhdostal Oct 8, 2024
b14d18e
Merge pull request #900 from Esri/mhd/Barcode_Tests
mhdostal Oct 9, 2024
2244d34
Merge pull request #899 from Esri/df/apollo/898_2
dfeinzimer Oct 9, 2024
601f34a
Add workaround for Swift 6148
dfeinzimer Oct 9, 2024
fda93a8
Update Sources/ArcGISToolkit/Components/Augmented Reality/Utilities/A…
dfeinzimer Oct 9, 2024
27ce6fc
Mark `state` private
dfeinzimer Oct 9, 2024
dfdaaf5
Remove `@preconcurrency` on `TableTopSceneView`
dfeinzimer Oct 9, 2024
d5b7906
Revise Swift 6148 workaround
dfeinzimer Oct 9, 2024
20127e7
Merge pull request #883 from Esri/df/Xcode16
dfeinzimer Oct 14, 2024
66d7574
Mark search source tests `@MainActor`
dfeinzimer Oct 14, 2024
e1eb76c
Merge pull request #909 from Esri/df/fixTests
dfeinzimer Oct 14, 2024
59b2d2d
Stop copying `PrivacyInfo.xcprivacy`
dfeinzimer Oct 15, 2024
941bd5a
Add visionOS as a supported platform
zkline101 Sep 16, 2024
8edf9eb
Update TextInput.swift
zkline101 Sep 17, 2024
6ceb731
Don't allow taking pictures or video on Vision Pro
zkline101 Sep 17, 2024
f429ef5
Show different keyboard type on visionOS for numeric typing with feat…
zkline101 Sep 18, 2024
73f25e0
PR Feedback on keyboard type code
zkline101 Sep 20, 2024
e62e59e
PR Feedback
zkline101 Sep 24, 2024
951b213
Bookmark UI edits for visionOS
zkline101 Sep 20, 2024
4fb1aa8
Edit hover effect in BasemapGallery
zkline101 Sep 19, 2024
8c93afa
UI edits for `FloatingPanel`
zkline101 Sep 24, 2024
3b03c2b
Fix doc
zkline101 Sep 24, 2024
a503ec2
Add hover effect to handle
zkline101 Sep 24, 2024
c970b3d
Mark some components as unavailable on visionOS
zkline101 Oct 8, 2024
42b53f8
Mark `EsriBorderViewModifier`
zkline101 Oct 8, 2024
7087fed
Fix build errors or warnings in visionOS branch
zkline101 Oct 9, 2024
f52a2ef
Fix unit tests for visionOS
zkline101 Oct 9, 2024
3f24943
Make OverviewMap available for visionOS
zkline101 Oct 14, 2024
10bba9a
Make Scalebar available on visionOS
zkline101 Oct 14, 2024
e0c1e82
Remove #if for scalebar tests
zkline101 Oct 14, 2024
07f00ac
Fix rebase conflicts
zkline101 Oct 16, 2024
6632b2a
Merge pull request #911 from Esri/zach/fixRebaseConflicts
zkline101 Oct 16, 2024
c843a17
Merge pull request #910 from Esri/df/dropResourceCopy
dfeinzimer Oct 16, 2024
43e73d3
Add visionOS as a supported platform
zkline101 Sep 16, 2024
43245a9
Mark some components as unavailable on visionOS
zkline101 Oct 8, 2024
e5c57f9
Add visionOS as a destination to the Authentication Example
zkline101 Oct 11, 2024
76a90ff
Fix some code after rebase
zkline101 Oct 16, 2024
7271908
Fix rebase mistakes
zkline101 Oct 16, 2024
d1a9544
Fix other conflicts
zkline101 Oct 16, 2024
acd9386
Update CodeScanner.swift
dfeinzimer Oct 16, 2024
0e4089f
Update CodeScanner.swift
dfeinzimer Oct 16, 2024
02a3c9a
Update CodeScanner.swift
dfeinzimer Oct 16, 2024
31a2d04
Update CodeScanner.swift
dfeinzimer Oct 16, 2024
34ddb39
Increase text size based on platform
zkline101 Oct 16, 2024
0c33896
Merge pull request #906 from Esri/zach/addVisionOSToAuthApp
zkline101 Oct 16, 2024
09249ad
Remove v2 static var since we are now using Swift 6
zkline101 Oct 16, 2024
b2c5aee
Apply suggestions from code review
zkline101 Oct 16, 2024
6f57c8f
Remove "Tap to scan" guide text
dfeinzimer Oct 17, 2024
dd9fb32
Remove tap to scan logic
dfeinzimer Oct 17, 2024
a2f49ce
Remove `evaluateOutputForAutoScan`
dfeinzimer Oct 17, 2024
834dd29
Formatting
dfeinzimer Oct 17, 2024
1a399cc
Create UIColor.swift
dfeinzimer Oct 17, 2024
01b8c25
Add `reticleLayer`
dfeinzimer Oct 17, 2024
00373f3
Remove `tapGestureRecognizer`
dfeinzimer Oct 17, 2024
0b222db
Add `setupAutoFocus`
dfeinzimer Oct 17, 2024
587662d
Adjust colors
dfeinzimer Oct 17, 2024
0f1f267
Move `delegate`
dfeinzimer Oct 17, 2024
2fc4458
Add `requiredTargetHits`
dfeinzimer Oct 17, 2024
6fce7df
Add `targetHits`, `targetStringValue`
dfeinzimer Oct 17, 2024
84ef5fd
Update scan logic
dfeinzimer Oct 17, 2024
de3ffeb
Add `MetadataObjectLayer.stringValue`
dfeinzimer Oct 17, 2024
58068b1
Add `normalOverlayColor`
dfeinzimer Oct 17, 2024
18ad7aa
Reorganize
dfeinzimer Oct 17, 2024
65705ee
Update CodeScanner.swift
dfeinzimer Oct 17, 2024
3e5bc85
Organize
dfeinzimer Oct 17, 2024
c79c748
Update CodeScanner.swift
dfeinzimer Oct 17, 2024
c9e5bdf
Doc
dfeinzimer Oct 17, 2024
aea86fc
Remove dead properties
dfeinzimer Oct 17, 2024
cd1da98
Update Localizable.strings
dfeinzimer Oct 17, 2024
0246402
Update UIColor.swift
dfeinzimer Oct 17, 2024
9b6c89c
Resolve test issues.
mhdostal Oct 18, 2024
30b96a7
Merge pull request #912 from Esri/df/apollo/909/rotation/UIDevice.ori…
dfeinzimer Oct 18, 2024
6cdbade
Merge pull request #913 from Esri/visionOS-v.next
zkline101 Oct 18, 2024
1938db3
Merge pull request #916 from Esri/mhd/ReintroduceTests
mhdostal Oct 18, 2024
57e8c6b
ignore safe areas
dfeinzimer Oct 19, 2024
dc8228a
Define `RotationCoordinator`
dfeinzimer Oct 19, 2024
d5bb196
Reorder properties
dfeinzimer Oct 19, 2024
244fd57
Add `videoRotationProvider`
dfeinzimer Oct 19, 2024
cb29cac
Add `LegacyScannerViewController`
dfeinzimer Oct 19, 2024
bc7ed78
Update `makeUIViewController`
dfeinzimer Oct 19, 2024
82e4615
Add `AVCaptureVideoOrientation.init(deviceOrientation:)`
dfeinzimer Oct 19, 2024
8e7b68d
Finish updates
dfeinzimer Oct 19, 2024
5b4b4d8
Update CodeScanner.swift
dfeinzimer Oct 19, 2024
d8c8534
CR: Mark
dfeinzimer Oct 21, 2024
be11783
Merge branch 'df/apollo/909/reticle' into df/apollo/909/rotation2
dfeinzimer Oct 21, 2024
531e7b3
Merge pull request #915 from Esri/df/apollo/909/reticle
dfeinzimer Oct 21, 2024
363f468
Update SearchViewModelTests.swift
dfeinzimer Oct 21, 2024
841ed55
Merge pull request #921 from Esri/df/repair_SearchViewModelTests
dfeinzimer Oct 21, 2024
4e2654b
Update CodeScanner.swift
dfeinzimer Oct 21, 2024
3b06938
Update CodeScanner.swift
dfeinzimer Oct 21, 2024
98da3fa
Add `extrinsicValue`
dfeinzimer Oct 23, 2024
2398fcc
Merge pull request #920 from Esri/df/apollo/909/rotation2
dfeinzimer Oct 23, 2024
e57a06d
Mark types unavailable for visionOS
dfeinzimer Oct 23, 2024
4c098d2
Merge pull request #928 from Esri/df/buildFix
dfeinzimer Oct 23, 2024
a4021ec
Update pseudo translation - @mit10976 @isa13169 @nia13404
jona7150 Oct 23, 2024
3d1b9c5
Merge pull request #929 from Esri/translation-l10n-staging
dfeinzimer Oct 23, 2024
d15bf61
Update FormViewTests.swift
dfeinzimer Oct 24, 2024
0d523d5
Revise ComboBoxInput to match Kotlin unsupported value behavior
dfeinzimer Oct 24, 2024
049cfc4
Update ComboBoxInput.swift
dfeinzimer Oct 24, 2024
c1b6d74
Update Localizable.strings
dfeinzimer Oct 24, 2024
b7c5b14
Merge pull request #930 from Esri/df/apollo/927
dfeinzimer Oct 24, 2024
5d46c42
Merge branch 'v.next' into pr/922
dfeinzimer Oct 24, 2024
4102f21
Don't treat an empty value as an unsupported value
dfeinzimer Oct 24, 2024
9d58cc4
Add FeatureFormTestView/testCase_3_7
dfeinzimer Oct 24, 2024
babe9f9
Update impl
dfeinzimer Oct 25, 2024
6f1bd96
Update ComboBoxInput.swift
dfeinzimer Oct 25, 2024
0a3225f
Update FormViewTests.swift
dfeinzimer Oct 25, 2024
3c7c332
Merge pull request #933 from Esri/df/apollo/927_3.6
dfeinzimer Oct 25, 2024
22a2ea4
Merge pull request #922 from Esri/df/apollo/839
dfeinzimer Oct 25, 2024
ed4c9b3
Handle `Int16`
dfeinzimer Oct 25, 2024
eee1e38
Support more than just FieldFormElements in GroupElements
mhdostal Oct 25, 2024
455012f
Update api doc.
CalebRas Oct 25, 2024
770ca78
Update InputFooter.swift
dfeinzimer Oct 25, 2024
9b6593c
Update InputFooter.swift
dfeinzimer Oct 25, 2024
027591f
Merge pull request #935 from Esri/df/apollo/802
dfeinzimer Oct 25, 2024
9d05689
Update Sources/ArcGISToolkit/Components/FeatureFormView/FeatureFormVi…
mhdostal Oct 28, 2024
b15a91c
Update Sources/ArcGISToolkit/Components/FeatureFormView/FeatureFormVi…
mhdostal Oct 28, 2024
e7144a2
Merge pull request #934 from Esri/mhd/GroupElement_TextElement
mhdostal Oct 28, 2024
16c2cdc
Update Sources/ArcGISToolkit/Components/Augmented Reality/TableTopSce…
CalebRas Oct 28, 2024
009be4b
Revise doc for 200.6
dfeinzimer Oct 28, 2024
5136a13
Merge pull request #938 from Esri/df/apollo/922
dfeinzimer Oct 28, 2024
68438b0
Update tutorial.
CalebRas Oct 28, 2024
925906b
Add value descriptions.
CalebRas Oct 28, 2024
eff6a9e
Add support for soft breaks
dfeinzimer Oct 28, 2024
79203f5
Support unsupported markdown elements
dfeinzimer Oct 28, 2024
2329477
Update MarkdownView.swift
dfeinzimer Oct 29, 2024
74d9cf8
Merge pull request #937 from Esri/Caleb/Update-TranslationFactorDoc
CalebRas Oct 29, 2024
d92efde
Add visionOS support to `PopupView`
zkline101 Oct 29, 2024
81552fc
Merge pull request #939 from Esri/df/apollo/937
dfeinzimer Oct 29, 2024
ca7e49c
Add visionOS support to `JobManager`
zkline101 Oct 29, 2024
ebd3d0c
PR Feedback
zkline101 Oct 29, 2024
ae1fa74
PR feedback
zkline101 Oct 29, 2024
22a830f
Basic selection
dfeinzimer Oct 29, 2024
aa68830
PR Feedback
zkline101 Oct 29, 2024
4de1704
Fix deselection on single trace delete
dfeinzimer Oct 29, 2024
f04d776
Revert "Fix deselection on single trace delete"
dfeinzimer Oct 30, 2024
5062787
Update UtilityNetworkTraceViewModel.swift
dfeinzimer Oct 30, 2024
c6dd1a9
Update UtilityNetworkTraceViewModel.swift
dfeinzimer Oct 30, 2024
6551d0d
Merge pull request #940 from Esri/zach/addPopupVisionOSSupport
zkline101 Oct 30, 2024
254c4a4
Merge pull request #941 from Esri/zach/addVisionOSToJobManager
zkline101 Oct 30, 2024
3b39771
Stop unneeded localized string entries
dfeinzimer Oct 30, 2024
4b20166
Merge pull request #944 from Esri/df/fixLocalizedStrings
dfeinzimer Oct 30, 2024
6d6612f
Update UtilityNetworkTraceViewModel.swift
dfeinzimer Oct 30, 2024
32c4936
Update UtilityNetworkTraceViewModel.swift
dfeinzimer Oct 30, 2024
ffe664d
Update UtilityNetworkTraceViewModel.swift
dfeinzimer Oct 30, 2024
40ddc65
Update UtilityNetworkTraceViewModel+Trace.swift
dfeinzimer Oct 30, 2024
853c84d
Merge pull request #945 from Esri/df/UtilityNetworkTraceRefactor
dfeinzimer Oct 30, 2024
2bd9d0e
Remove AR components from Catalyst
dfeinzimer Oct 30, 2024
cd546cd
Merge branch 'v.next' into pr/943
dfeinzimer Oct 31, 2024
c6d1d1d
Merge pull request #946 from Esri/df/889
dfeinzimer Oct 31, 2024
6aebabc
Merge pull request #943 from Esri/df/931
dfeinzimer Oct 31, 2024
c7949bc
Remove outdated expected failure
dfeinzimer Oct 31, 2024
b98a3bf
Merge pull request #949 from Esri/df/699
dfeinzimer Oct 31, 2024
0d1ead9
Lock `Compass` `layoutDirection` to `leftToRight`
dfeinzimer Nov 1, 2024
59f5fb0
Update Compass.swift
dfeinzimer Nov 1, 2024
76abf15
Merge pull request #951 from Esri/df/948
dfeinzimer Nov 1, 2024
f059e2c
Update Compass.swift
dfeinzimer Nov 1, 2024
54646a7
Merge pull request #952 from Esri/df/buildFix_2
dfeinzimer Nov 1, 2024
5586bcf
Update translation - @mit10976 @isa13169 @nia13404
jona7150 Nov 1, 2024
6f5575d
Revert "Merge pull request #946 from Esri/df/889"
dfeinzimer Nov 1, 2024
9433972
Merge pull request #955 from Esri/df/revert-946
dfeinzimer Nov 1, 2024
7488f21
Mark AR components unavailable for Catalyst
dfeinzimer Nov 1, 2024
39a46d0
Mark `ARTests` unavailable on Catalyst
dfeinzimer Nov 1, 2024
ef9575a
Merge pull request #953 from Esri/translation-l10n-staging
dfeinzimer Nov 5, 2024
9afd05d
Merge pull request #957 from Esri/l10n-staging
dfeinzimer Nov 5, 2024
9dce1c4
Auto zoom to trace extent on completion and when browsing completed t…
dfeinzimer Nov 5, 2024
43d8cb1
Update README.md for 200.6 sys req
dg0yal Nov 5, 2024
00298ac
Update UserView.swift
dfeinzimer Nov 6, 2024
145688f
Adjust scan button size and color; remove Clear button for barcode in…
mhdostal Nov 6, 2024
ecf7f83
Use Chevron instead of list icon for combo boxes, per design review r…
mhdostal Nov 6, 2024
5c5929d
Merge pull request #956 from Esri/df/889
dfeinzimer Nov 7, 2024
111166f
Merge pull request #958 from Esri/df/947
dfeinzimer Nov 7, 2024
0fbe1a6
Merge pull request #961 from Esri/mhd/ComboBoxUIImprovements
mhdostal Nov 7, 2024
c3836bf
Initial multi-line text improvements.
mhdostal Nov 7, 2024
9030284
Merge pull request #959 from Esri/dg0yal-patch-1
dg0yal Nov 7, 2024
e9a7d56
Adjust size of "Calendar" button per the design review guidelines.
mhdostal Nov 7, 2024
52c54e8
adding `alignment: .top` fixed my alignment problem
mhdostal Nov 7, 2024
c7535d5
Merge pull request #960 from Esri/mhd/BarcodeUIImprovements
PeggyDu09 Nov 7, 2024
ffa9ebf
Merge branch 'v.next' into mhd/TextUIImprovements
mhdostal Nov 7, 2024
c39b216
Merge pull request #962 from Esri/mhd/TextUIImprovements
mhdostal Nov 7, 2024
d681f5e
Update TextInput.swift
dfeinzimer Nov 8, 2024
c4aa8b8
Merge pull request #963 from Esri/df/buildFix_3
dfeinzimer Nov 8, 2024
2d0984b
Update UserView.swift
dfeinzimer Nov 6, 2024
2db0617
Update FloatingPanel.md
dfeinzimer Nov 8, 2024
986eb11
Merge branch 'df/777' of https://github.com/Esri/arcgis-maps-sdk-swif…
dfeinzimer Nov 8, 2024
aeb85e8
Update Authenticator.swift
dfeinzimer Nov 8, 2024
54e5f7e
Update BasemapGallery.swift
dfeinzimer Nov 8, 2024
4b9b18f
Update SearchView.swift
dfeinzimer Nov 8, 2024
08f7757
Update FormViewTests.swift
dfeinzimer Nov 8, 2024
ff79cc0
Update FormViewTests.swift
dfeinzimer Nov 8, 2024
039aac9
Update Sources/ArcGISToolkit/Documentation.docc/FloatingPanel.md
dfeinzimer Nov 8, 2024
0e1632d
Update corner radius for floating panel on visionOS
zkline101 Nov 8, 2024
ba38ac5
Remove specific floating panel symbol links
dfeinzimer Nov 9, 2024
eab0ab4
Merge pull request #965 from Esri/df/fix/FeatureFormViewTeststestCase…
mhdostal Nov 12, 2024
fff325a
Merge pull request #966 from Esri/zach/fixFloatingPanelOnVisionOS
zkline101 Nov 12, 2024
9032c83
Merge pull request #964 from Esri/df/777
dfeinzimer Nov 13, 2024
18bafc0
Update AugmentedReality.md
des12437 Nov 13, 2024
da9ea1f
Merge pull request #968 from Esri/destiny/Fix-AR-DocC-warnings
des12437 Nov 13, 2024
bfae87f
Fix visionOS 2.1 compile errors
zkline101 Nov 14, 2024
81edb95
Merge pull request #969 from Esri/zach/fixNewVisionOSErrors
zkline101 Nov 14, 2024
b3c3958
Update project version numbers
zkline101 Nov 14, 2024
9182d9a
Revert "Fix DocC warnings"
des12437 Nov 14, 2024
66d358e
Add .spi.yml
dfeinzimer Nov 14, 2024
0aab561
Merge pull request #971 from Esri/zach/updateXcodeProjects
zkline101 Nov 15, 2024
066bf54
Merge pull request #972 from Esri/df/SPI_doc_link
dfeinzimer Nov 15, 2024
0fbe895
Merge pull request #973 from Esri/revert-968-destiny/Fix-AR-DocC-warn…
des12437 Nov 15, 2024
34d2d58
Bump ArcGIS to 200.6
dfeinzimer Nov 15, 2024
8486438
Apply padding in one place instead of two
dfeinzimer Nov 16, 2024
68aedc1
Include the height of the scroll indicator which has been pushed belo…
dfeinzimer Nov 16, 2024
683bfe2
Merge pull request #975 from Esri/df/apollo/972
dfeinzimer Nov 18, 2024
15e6b01
Merge pull request #974 from Esri/df/arcbump
dfeinzimer Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version: 1
external_links:
documentation: "https://developers.arcgis.com/swift/toolkit-api-reference/documentation/arcgistoolkit/"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1530"
LastUpgradeVersion = "1600"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 55;
objectVersion = 77;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -133,22 +133,22 @@
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1320;
LastUpgradeCheck = 1530;
LastUpgradeCheck = 1600;
TargetAttributes = {
88AD13742834355000500B2E = {
CreatedOnToolsVersion = 13.2.1;
};
};
};
buildConfigurationList = 88AD13702834355000500B2E /* Build configuration list for PBXProject "AuthenticationExample" */;
compatibilityVersion = "Xcode 13.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 88AD136C2834355000500B2E;
preferredProjectObjectVersion = 77;
productRefGroup = 88AD13762834355000500B2E /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -270,6 +270,7 @@
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 6.0;
};
name = Debug;
};
Expand Down Expand Up @@ -325,6 +326,7 @@
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 6.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand All @@ -351,16 +353,18 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 200.5.0;
MARKETING_VERSION = 200.6.0;
PRODUCT_BUNDLE_IDENTIFIER = com.esri.Authentication;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2,7";
XROS_DEPLOYMENT_TARGET = 2.0;
};
name = Debug;
};
Expand All @@ -386,16 +390,18 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 200.5.0;
MARKETING_VERSION = 200.6.0;
PRODUCT_BUNDLE_IDENTIFIER = com.esri.Authentication;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2,7";
XROS_DEPLOYMENT_TARGET = 2.0;
};
name = Release;
};
Expand Down
16 changes: 9 additions & 7 deletions AuthenticationExample/AuthenticationExample/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,24 @@ struct HomeView: View {

var body: some View {
if let portal = portal {
NavigationStack {
NavigationSplitView {
WebMapsView(portal: portal)
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
ToolbarItem(placement: .topBarTrailing) {
Button {
showProfile = true
} label: {
Image(systemName: "person.circle")
}
.sheet(isPresented: $showProfile) {
ProfileView(portal: portal) {
self.portal = nil
}
}
}
}
.sheet(isPresented: $showProfile) {
ProfileView(portal: portal) {
self.portal = nil
}
}
} detail: {
Text("No Webmap Selected")
}
} else {
SignInView(portal: $portal)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import SwiftUI
/// A view that loads a `LoadableImage` and displays it.
/// While the image is loading a progress view is displayed.
/// If there is an error displaying the image a red exclamation circle is displayed.
@MainActor
struct LoadableImageView: View {
/// The loadable image to display.
let loadableImage: LoadableImage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import ArcGIS
import SwiftUI

/// A view that displays a map.
@MainActor
struct MapItemView: View {
/// The map that is to be displayed.
let map: Map
Expand Down
26 changes: 19 additions & 7 deletions AuthenticationExample/AuthenticationExample/ProfileView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import ArcGISToolkit
import SwiftUI

/// A view that displays the profile of a user.
@MainActor
struct ProfileView: View {
/// The portal that the user is signed in to.
let portal: Portal
Expand All @@ -28,15 +27,28 @@ struct ProfileView: View {
/// The closure to call once the user has signed out.
var signOutAction: () -> Void

/// Dismisses the current presentation.
@Environment(\.dismiss)
private var dismiss

var body: some View {
VStack {
if let user = portal.user {
UserView(user: user).padding()
NavigationStack {
VStack {
if let user = portal.user {
UserView(user: user).padding()
}
Spacer()
signOutButton
}
.padding()
.toolbar {
ToolbarItem(placement: .topBarTrailing) {
Button("Done") {
dismiss()
}
}
}
Spacer()
signOutButton
}
.padding()
}

var signOutButton: some View {
Expand Down
7 changes: 6 additions & 1 deletion AuthenticationExample/AuthenticationExample/SignInView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import CryptoKit
import SwiftUI

/// A view that allows the user to sign in to a portal.
@MainActor
struct SignInView: View {
/// The error that occurred during an attempt to sign in.
@State private var error: Error?
Expand All @@ -44,7 +43,11 @@ struct SignInView: View {
ProgressView()
} else {
Text(URL.portal.host!)
#if os(visionOS) || targetEnvironment(macCatalyst)
.font(.headline)
#else
.font(.footnote)
#endif
.foregroundColor(.secondary)
signInButton
}
Expand Down Expand Up @@ -107,7 +110,9 @@ struct SignInView: View {
signIn()
} label: {
Text(signInButtonText)
#if !os(visionOS)
.frame(maxWidth: .infinity)
#endif
}
.buttonStyle(.bordered)
.controlSize(.large)
Expand Down
2 changes: 1 addition & 1 deletion AuthenticationExample/AuthenticationExample/UserView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ struct UserView: View {
}
}

extension PortalUser.Role: CustomStringConvertible {
extension PortalUser.Role: @retroactive CustomStringConvertible {
public var description: String {
switch self {
case .user:
Expand Down
16 changes: 9 additions & 7 deletions Examples/Examples.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 54;
objectVersion = 77;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -199,22 +199,22 @@
attributes = {
BuildIndependentTargetsInParallel = YES;
LastSwiftUpdateCheck = 1250;
LastUpgradeCheck = 1530;
LastUpgradeCheck = 1600;
TargetAttributes = {
E47ABE3F2652FE0900FD2FE3 = {
CreatedOnToolsVersion = 12.5;
};
};
};
buildConfigurationList = E47ABE3B2652FE0900FD2FE3 /* Build configuration list for PBXProject "Examples" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = E47ABE372652FE0900FD2FE3;
preferredProjectObjectVersion = 77;
productRefGroup = E47ABE412652FE0900FD2FE3 /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -348,6 +348,7 @@
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 6.0;
};
name = Debug;
};
Expand Down Expand Up @@ -403,6 +404,7 @@
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 6.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand All @@ -427,14 +429,14 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 200.5.0;
MARKETING_VERSION = 200.6.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.esri.arcgis-swift-sdk-toolkit-examples";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2,6";
};
name = Debug;
Expand All @@ -459,14 +461,14 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 200.5.0;
MARKETING_VERSION = 200.6.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.esri.arcgis-swift-sdk-toolkit-examples";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2,6";
};
name = Release;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1530"
LastUpgradeVersion = "1600"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
1 change: 0 additions & 1 deletion Examples/Examples/BasemapGalleryExampleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import ArcGIS
import ArcGISToolkit
import SwiftUI

@MainActor
struct BasemapGalleryExampleView: View {
/// A Boolean value indicating whether the basemap gallery is presented.
@State private var basemapGalleryIsPresented = false
Expand Down
Loading