Skip to content

Merge V.next into Main for release #207

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 2,179 commits into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2179 commits
Select commit Hold shift + click to select a range
8e7a539
Apply suggestions from code review
mhdostal Sep 19, 2022
d3abc16
Update Sources/ArcGISToolkit/Components/FloatingPanel/FloatingPanel.s…
mhdostal Sep 19, 2022
7e1f967
Merge pull request #147 from ArcGIS/mhd/CollapsableElements
mhdostal Sep 19, 2022
689c9ca
Merge v.next
mhdostal Sep 19, 2022
d1d9895
Update Sources/ArcGISToolkit/Components/Popups/HTMLTextView.swift
mhdostal Sep 19, 2022
0a27253
Changes
dfeinzimer Sep 21, 2022
35521a1
Merge pull request #149 from ArcGIS/df/FixBuild
dfeinzimer Sep 21, 2022
bff95ea
Turns out black isn't black, but #1C1C1E, when in DarkMode.
mhdostal Sep 21, 2022
483894b
Update UtilityNetworkTraceViewModelTests.swift
dfeinzimer Sep 21, 2022
83b0d09
Merge pull request #150 from ArcGIS/df/FixTests
dfeinzimer Sep 22, 2022
35c4e09
Merge branch 'v.next' into mhd/DarkMode_HTML
mhdostal Sep 26, 2022
29e7e5c
Update UtilityNetworkTraceViewModel.swift
dfeinzimer Sep 27, 2022
6969002
Update SearchViewModelTests.swift
dfeinzimer Sep 27, 2022
cee7df5
Merge pull request #151 from ArcGIS/df/FixBuild
dfeinzimer Sep 27, 2022
f74d345
Remove RoundRectangle border from around HTML text element. This is …
mhdostal Sep 27, 2022
923db88
Make HTML text's background transparent
mhdostal Sep 28, 2022
9704bd6
Merge pull request #148 from ArcGIS/mhd/DarkMode_HTML
mhdostal Sep 29, 2022
0e2dad4
Fix build failures related to UtilityTraceFunctionType
philium Oct 5, 2022
9dc580f
Merge pull request #153 from ArcGIS/Phil9771/fix-build-failures-relat…
philium Oct 5, 2022
25deaa6
doc authenticator
rolson Oct 5, 2022
8d0f6bd
undo accidental changes
rolson Oct 5, 2022
1f295a2
Update Documentation/Authenticator/README.md
rolson Oct 6, 2022
ee55443
Update Documentation/Authenticator/README.md
rolson Oct 6, 2022
80fad71
Update Documentation/Authenticator/README.md
rolson Oct 6, 2022
21ab2db
Update Documentation/Authenticator/README.md
rolson Oct 6, 2022
fd2fcb6
Update Documentation/README.md
rolson Oct 6, 2022
f49b052
Update README.md
rolson Oct 6, 2022
7bedb4f
Reverse order of attachments prior to display.
mhdostal Oct 6, 2022
117dad4
Merge pull request #155 from ArcGIS/mhd/AttachmentDisplayOrder
mhdostal Oct 7, 2022
a1d09e8
Merge pull request #154 from ArcGIS/ryan3374/docAuthenticator
rolson Oct 7, 2022
8dabefe
Address build error in SearchResult.swift
philium Oct 10, 2022
f3707d8
Remove conformance of `Bookmark` to `Equatable`
philium Oct 10, 2022
a5cc230
Merge pull request #156 from ArcGIS/Phil9771/address-build-error-in-S…
philium Oct 10, 2022
02c92f9
Merge pull request #157 from ArcGIS/Phil9771/remove-conformance-of-Bo…
philium Oct 10, 2022
51712e3
Fix popup refresh issue.
mhdostal Oct 10, 2022
a2a3064
Fix Calypso issue with new popup refresh. Fix error handling.
mhdostal Oct 11, 2022
50b775f
Update Sources/ArcGISToolkit/Components/Popups/PopupView.swift
mhdostal Oct 11, 2022
820a0f7
Use `Result` for expression evaluation results.
mhdostal Oct 11, 2022
13ffb84
Merge pull request #158 from ArcGIS/mhd/PopupRefresh
mhdostal Oct 11, 2022
2163151
Changes
dfeinzimer Oct 12, 2022
fb6ea74
Merge pull request #160 from ArcGIS/df/UtilityElementConformances
dfeinzimer Oct 12, 2022
0e9ebf0
changes for rename of isLoginRequired to requiresLogin
njarecha Oct 13, 2022
7618fe9
Initial implementation.
mhdostal Oct 14, 2022
98f3d6b
with background image and debug prints
mhdostal Oct 14, 2022
a05dbb2
Clean up code; changes to eliminate flashing.
mhdostal Oct 14, 2022
28d8d42
First pass at Timer publisher. Doesn't work well.
mhdostal Oct 14, 2022
7b02c25
Merge pull request #161 from ArcGIS/nj_updatePortalInitCode
njarecha Oct 18, 2022
5141848
Use view model instead of AsyncImage.
mhdostal Oct 19, 2022
770d231
Cleanup and more doc.
mhdostal Oct 19, 2022
6137f57
Don't hold onto url, since it's now in the model.
mhdostal Oct 20, 2022
a51bb7a
Merge branch 'v.next' into mhd/RefreshInterval
mhdostal Oct 20, 2022
8595f69
Apply suggestions from code review
mhdostal Oct 20, 2022
e38cf26
PR review change from `if` to `guard`.
mhdostal Oct 20, 2022
20b3fdd
Merge pull request #162 from ArcGIS/mhd/RefreshInterval
mhdostal Oct 21, 2022
eb3fba0
Cleanup and finalize.
mhdostal Oct 21, 2022
6c9b9dc
Apply fixes
dfeinzimer Oct 22, 2022
4975b62
Merge pull request #163 from ArcGIS/df/FixBuildErrors
dfeinzimer Oct 24, 2022
32d2f1b
Finalize/clean up refresh interval enhancements for popup media progr…
mhdostal Oct 24, 2022
2e1037c
pass media size to AsyncImageView to correctly set width of progress …
mhdostal Oct 25, 2022
4d2357d
`imageRefreshInterval` is now of time `TimeInterval?`.
mhdostal Oct 27, 2022
d069b3c
Apply suggestions from code review
mhdostal Oct 28, 2022
fe0b06d
Apply suggestions from code review
mhdostal Oct 31, 2022
766f69f
count down instead of up in image refresh progress bar.
mhdostal Oct 31, 2022
14a385f
Fix indentation.
mhdostal Oct 31, 2022
6217db0
PR review changes to better handle State in the model.
mhdostal Oct 31, 2022
3444d21
add `.onChange` for url and `refreshInterval`.
mhdostal Oct 31, 2022
149a369
Tweaks to allow changing the refresh Interval of an AsyncImageView.
mhdostal Nov 1, 2022
9eee0c9
Update Sources/ArcGISToolkit/Components/Popups/PopupMedia/Images/Asyn…
mhdostal Nov 1, 2022
c41eff8
Merge pull request #164 from ArcGIS/mhd/ImageRefreshInteral_Enhancements
mhdostal Nov 1, 2022
b906a18
rename isSynchronizable to synchronizesWithiCloud
njarecha Nov 3, 2022
210b560
Merge pull request #165 from ArcGIS/njarecha/issue2981
njarecha Nov 3, 2022
82c4322
Add height(_ height: CGFloat), fraction(_ fraction: CGFloat)
dfeinzimer Nov 4, 2022
8d69f12
Make new detent values part of sample
dfeinzimer Nov 4, 2022
0d40a51
activeDetent > selectedDetent
dfeinzimer Nov 4, 2022
7be4a13
Handle new cases in heightFor(: FloatingPanelDetent)
dfeinzimer Nov 4, 2022
92245d9
Switch from `allCases` to explicit preset detents
dfeinzimer Nov 4, 2022
d3d03f4
`detent` -> `selection`
dfeinzimer Nov 4, 2022
9ef3a04
`selection` -> `selectedDetent`
dfeinzimer Nov 7, 2022
dd933f6
Simplify `onChanged` handler
dfeinzimer Nov 7, 2022
e4f144b
Implement new detent selection method
dfeinzimer Nov 8, 2022
d33140d
Merge pull request #166 from ArcGIS/df/NewFloatingPanelDetents
dfeinzimer Nov 8, 2022
370f6aa
Merge branch 'v.next' into df/132
dfeinzimer Nov 8, 2022
e299b8c
Update FloatingPanel.swift
dfeinzimer Nov 8, 2022
0c64250
Use global coordinates
dfeinzimer Nov 8, 2022
bc815e1
Revise `onChange` handler
dfeinzimer Nov 8, 2022
d92eb34
`previousDragGesture` -> `latestDragGesture`
dfeinzimer Nov 8, 2022
303e411
Revise `onEnded` handler
dfeinzimer Nov 8, 2022
4d86d0e
Delete UtilityAssetType.swift
dfeinzimer Nov 8, 2022
44a5a03
Merge pull request #168 from ArcGIS/df/UtilityAssetTypeExtenstionRemoval
dfeinzimer Nov 8, 2022
b03cbf6
Update UtilityNetworkTrace.swift
dfeinzimer Nov 8, 2022
9e1eb68
Update UtilityNetworkTraceViewModel.swift
dfeinzimer Nov 8, 2022
1d3bd12
Delete UtilityNamedTraceConfiguration.swift
dfeinzimer Nov 8, 2022
a886b58
replace portal's requiresLogin with connection enum
njarecha Nov 11, 2022
dd6aba3
Merge pull request #169 from ArcGIS/df/RemoveUtilityNamedTraceConfigu…
dfeinzimer Nov 14, 2022
5c286c5
Merge pull request #170 from ArcGIS/njarecha/issue3074
njarecha Nov 14, 2022
eaf26d5
rename to ArcGISEnvironment
pgruenler Nov 15, 2022
b94952a
Merge pull request #171 from ArcGIS/peg/ArcGISEnvironmentRename
pgruenler Nov 15, 2022
2af949b
Change package name and remove references to Runtime.
mhdostal Nov 15, 2022
f55fbfe
Give package the correct name
mhdostal Nov 15, 2022
ec55218
Remove more references to Runtime
mhdostal Nov 15, 2022
b20c855
README changes.
mhdostal Nov 15, 2022
e154b4c
More name changes and cleanup.
mhdostal Nov 15, 2022
aefd03d
Still use github.com/arcGIS until release.
mhdostal Nov 15, 2022
2624c79
use arcgis.com urls instead of runtime.maps.arcgis.com
mhdostal Nov 15, 2022
f5a741a
Remove references to runtimecoretest.
mhdostal Nov 15, 2022
c9b6330
fix typos
mhdostal Nov 15, 2022
9b3b441
Update SPM doc.
mhdostal Nov 15, 2022
ef7be25
Toolkit name change.
mhdostal Nov 16, 2022
3a0de78
Apply suggestions from code review
mhdostal Nov 16, 2022
5c5a854
Merge pull request #172 from ArcGIS/mhd/SDKRename
mhdostal Nov 16, 2022
1e21fde
name change to ArcGISError
pgruenler Nov 16, 2022
5a96ba4
update swift dev site links
sbaskaran Nov 16, 2022
5357be8
update link for API key setup
sbaskaran Nov 16, 2022
06ce1be
Merge pull request #174 from ArcGIS/suganya/update-swift-dev-site-links
sbaskaran Nov 16, 2022
0e30e4f
Doc updates
mhdostal Nov 17, 2022
61624a7
Update README.md
mhdostal Nov 17, 2022
cc1d5bc
Merge pull request #175 from ArcGIS/peg/ArcGISErrorRename
pgruenler Nov 17, 2022
a8444d8
Make second initializer public; reorder initializer arguments.
mhdostal Nov 18, 2022
ff03ef0
Merge branch 'v.next' into mhd/BasemapGalleryUpdates
mhdostal Nov 18, 2022
54ed362
Match argument order.
mhdostal Nov 18, 2022
5630145
make 2nd initializer public, add Featured section
mhdostal Nov 18, 2022
c418be3
Merge branch 'v.next' into mhd/Documentation
mhdostal Nov 18, 2022
0060f30
Add more documentation and example code.
mhdostal Nov 18, 2022
1720351
Update README.md
mhdostal Nov 18, 2022
88b1197
Add screenshots
mhdostal Nov 18, 2022
13c77ab
Merge pull request #176 from ArcGIS/mhd/BasemapGalleryUpdates
mhdostal Nov 18, 2022
335cd97
Update README.md
mhdostal Nov 18, 2022
9b94b21
Minor tweak
mhdostal Nov 18, 2022
cf31135
remove extra empty lies.
mhdostal Nov 18, 2022
97eea34
Drop `UtilityNetwork` `Equatable` & `Hashable` conformance
dfeinzimer Nov 18, 2022
c4c38a4
Switch from `self` to `name`
dfeinzimer Nov 18, 2022
6863967
Screenshot and doc updates
mhdostal Nov 18, 2022
a1d0739
Update screen shot
mhdostal Nov 18, 2022
2afce81
Add screenshots
mhdostal Nov 18, 2022
fc72f02
More doc.
mhdostal Nov 18, 2022
e76dd0c
Merge pull request #180 from ArcGIS/df/RemoveUNConformance
dfeinzimer Nov 18, 2022
fc7a053
Update UtilityNetworkTraceViewModelTests.swift
dfeinzimer Nov 19, 2022
9da963d
Remove unused methods
dfeinzimer Nov 19, 2022
6a3387a
Update README.md
mhdostal Nov 21, 2022
d468650
Update floating panel doc.
mhdostal Nov 21, 2022
c853087
Delete UtilityTerminal.swift
dfeinzimer Nov 21, 2022
bceb0f3
Refer to previously published credentials
dfeinzimer Nov 21, 2022
a5c9aff
Remove `UtilityTraceFunctionOutput` `Identifiable` conformance
dfeinzimer Nov 22, 2022
37f8f5c
Apply suggestions from code review
mhdostal Nov 22, 2022
3c57278
use "instance method" instead of modifier.
mhdostal Nov 22, 2022
1c6a379
use "instance method" instead of "modifier"
mhdostal Nov 22, 2022
d348450
Merge pull request #181 from ArcGIS/df/UpdateUNTests
dfeinzimer Nov 22, 2022
7d8d7b1
Merge pull request #179 from ArcGIS/mhd/Documentation
mhdostal Nov 22, 2022
b7f9925
Merge branch 'v.next' into df/132
dfeinzimer Nov 22, 2022
1a028ff
Update README.md
mhdostal Nov 22, 2022
a0cd770
Add Site Button image
mhdostal Nov 22, 2022
1549198
Merge branch 'v.next' into mhd/Documentation2
mhdostal Nov 22, 2022
b0c192b
Update README.md
mhdostal Nov 22, 2022
b2daa07
Initial README
mhdostal Nov 22, 2022
7686f24
Update FloatingPanel.swift
dfeinzimer Nov 22, 2022
7959c12
Initial version
mhdostal Nov 22, 2022
f1fec32
point to correct example.
mhdostal Nov 22, 2022
48e07e5
Update FloatingPanel.swift
dfeinzimer Nov 22, 2022
9398f25
Update README.md
mhdostal Nov 23, 2022
c5e1deb
Merge pull request #167 from ArcGIS/df/132
dfeinzimer Nov 23, 2022
096be0b
Scalebar doc
mhdostal Nov 23, 2022
5fbc8af
Update README.md
mhdostal Nov 23, 2022
cd60655
SearchView
mhdostal Nov 23, 2022
3b0b0cd
Authenticator
mhdostal Nov 23, 2022
4adffe1
Tweaks to Authenticator doc
mhdostal Nov 23, 2022
18098db
Update Documentation/Compass/README.md
mhdostal Nov 28, 2022
83b1622
Merge branch 'mhd/Documentation2' into mhd/Documentation3
mhdostal Nov 28, 2022
955ec56
Merge branch 'mhd/Documentation3' into mhd/Documentation4
mhdostal Nov 28, 2022
32bdc14
Clean up basic usage.
mhdostal Nov 28, 2022
7d48911
Add `objectID` to `UtilityTraceFunctionOutput`
dfeinzimer Nov 28, 2022
cb6bf4d
Merge pull request #183 from ArcGIS/df/RemoveUtilityTraceFunctionOutp…
dfeinzimer Nov 28, 2022
2ee5784
Add instructions/link to Authenticator component
mhdostal Nov 28, 2022
928fb27
Merge branch 'mhd/Documentation3' into mhd/Documentation4
mhdostal Nov 28, 2022
7dd5fdd
F
mhdostal Nov 28, 2022
bec56be
Use `confirmationDialog` modifier for Clear All Results
philium Nov 28, 2022
bde2097
Merge pull request #190 from ArcGIS/Phil9771/use-confirmationDialog-m…
philium Nov 28, 2022
5f7313c
Merge pull request #182 from ArcGIS/df/RemoveUtilityTerminalConformances
dfeinzimer Nov 28, 2022
ecc3acb
Remove colon after "Feature"
mhdostal Nov 28, 2022
c8fee49
Remove colon after "Feature"
mhdostal Nov 28, 2022
851954f
Remove colon after "Feature"
mhdostal Nov 28, 2022
8719d99
Remove colon after "Feature"
mhdostal Nov 28, 2022
f243253
Merge branch 'mhd/Documentation2' into mhd/Documentation3
mhdostal Nov 28, 2022
004f60b
Merge branch 'mhd/Documentation3' into mhd/Documentation4
mhdostal Nov 28, 2022
6a9050e
Merge pull request #184 from ArcGIS/mhd/Documentation2
mhdostal Nov 28, 2022
dc21471
Merge branch 'v.next' into mhd/Documentation3
mhdostal Nov 28, 2022
66de992
Update Package.swift
zkline101 Nov 29, 2022
784ce76
Add Lint Source build phase for SwiftLint support
mhdostal Nov 29, 2022
892b099
Add linter file and fixes for linter warnings/errors
mhdostal Nov 29, 2022
fef5bdc
Update Documentation/Popup/README.md
mhdostal Nov 29, 2022
9f61e74
pan "or" zoom
mhdostal Nov 29, 2022
7fc232a
SwiftLint plug-in for the Toolkit package.
mhdostal Nov 29, 2022
bd83a84
Merge pull request #185 from ArcGIS/mhd/Documentation3
mhdostal Nov 29, 2022
ac620cd
Merge branch 'v.next' into mhd/Documentation4
mhdostal Nov 29, 2022
b6720b7
Update Documentation/Authenticator/README.md
mhdostal Nov 29, 2022
9e1b467
Merge pull request #186 from ArcGIS/mhd/Documentation4
mhdostal Nov 30, 2022
c6f5b0f
Update UtilityNetworkTrace doc; add Examples readme; minor tweaks.
mhdostal Nov 30, 2022
95a6704
update Documentation README
mhdostal Nov 30, 2022
a173100
Hashable conformance has been added to the SDK.
mhdostal Nov 30, 2022
0830748
Create LICENSE.txt
dfeinzimer Nov 30, 2022
da143a5
Revert "Create LICENSE.txt"
dfeinzimer Nov 30, 2022
49361e2
Create LICENSE
dfeinzimer Nov 30, 2022
b037a42
Update license link to raw view
dfeinzimer Nov 30, 2022
a23f630
Update README.md
dfeinzimer Nov 30, 2022
2892e63
`2017` -> `2022`
dfeinzimer Nov 30, 2022
6365fb2
Merge branch 'v.next' into mhd/SwiftLint
mhdostal Nov 30, 2022
4fb2111
Revert "SwiftLint plug-in for the Toolkit package."
mhdostal Nov 30, 2022
4d703f7
Move config file to root of toolkit.
mhdostal Nov 30, 2022
51fcc33
Merge pull request #195 from ArcGIS/df/AddLicense
dfeinzimer Nov 30, 2022
d189094
Merge pull request #193 from ArcGIS/mhd/Doc5_III
mhdostal Nov 30, 2022
c01632b
Merge pull request #196 from ArcGIS/mhd/SwiftLint
mhdostal Nov 30, 2022
9a74965
Merge pull request #192 from ArcGIS/zach/updateArcGISPackageName
zkline101 Dec 1, 2022
f45e11a
Fix some toolkit spelling errors
zkline101 Dec 1, 2022
2e17ea0
Merge pull request #198 from ArcGIS/zach/fixSomeToolkitSpellingErrors
zkline101 Dec 1, 2022
bbb5ffc
Mac Catalyst support.
mhdostal Dec 1, 2022
720a25c
Add note about system requirements for Charts
mhdostal Dec 2, 2022
f8817ff
Add note about MacCatalyst Attachment previews.
mhdostal Dec 2, 2022
cb16f56
Merge pull request #194 from ArcGIS/mhd/RemoveBookmarkConformances
mhdostal Dec 2, 2022
6b8d17c
Revert "Remove bookmark "Hashable" conformance"
mhdostal Dec 2, 2022
a64872c
Merge pull request #202 from ArcGIS/revert-194-mhd/RemoveBookmarkConf…
mhdostal Dec 2, 2022
df61378
Make SearchField initializer public, as the class is public.
mhdostal Dec 2, 2022
141bb89
Remove unused environment vars.
mhdostal Dec 2, 2022
057d745
Limit height of view to the height of the content.
mhdostal Dec 2, 2022
c7b5b48
Update screenshots
mhdostal Dec 2, 2022
594a0eb
Update Sources/ArcGISToolkit/Components/BasemapGallery/BasemapGallery…
mhdostal Dec 2, 2022
591333f
Merge pull request #204 from ArcGIS/mhd/CodeCleanup
mhdostal Dec 5, 2022
7e5e657
Merge pull request #201 from ArcGIS/mhd/CatalystSupport
mhdostal Dec 5, 2022
c2112ba
Update to final URL and SPM instructions.
mhdostal Dec 7, 2022
228a681
Update forum URL to point to correct page
mhdostal Dec 7, 2022
74ad21c
Update SDK dependency in Package.swift
mhdostal Dec 7, 2022
894e692
One more MacCatalyst update; this change matches the SDK example app …
mhdostal Dec 7, 2022
9005bdb
Use correct beta package name.
mhdostal Dec 7, 2022
3ce5a33
Undo change to Mac Catalyst Interface setting.
mhdostal Dec 7, 2022
eadbb51
Fix tests.
mhdostal Dec 8, 2022
384d63e
Update FloatingPanel.swift
dfeinzimer Dec 8, 2022
30e28e6
Merge pull request #210 from Esri/df/FixUNPadding
dfeinzimer Dec 9, 2022
331cc68
Merge pull request #208 from Esri/mhd/FixTests
mhdostal Dec 9, 2022
21b4eb6
Fix `@unknown default` warnings
dfeinzimer Dec 9, 2022
07bbaea
Update NetworkChallengeContinuation.swift
dfeinzimer Dec 9, 2022
47292ef
Update Sources/ArcGISToolkit/Components/Popups/Attachments/Attachment…
dfeinzimer Dec 9, 2022
cba0234
Update SiteAndFacilitySelector.swift
dfeinzimer Dec 9, 2022
27caaff
Update SiteAndFacilitySelector.swift
dfeinzimer Dec 9, 2022
dcf1fda
Merge pull request #215 from Esri/df/ResolveWarnings
dfeinzimer Dec 9, 2022
0be6d37
Fix issue with thumbnails and ios 16.1: put selection and error repor…
mhdostal Dec 12, 2022
500f6fb
Merge pull request #216 from Esri/df/212
dfeinzimer Dec 12, 2022
269b1d6
Apply suggestions from code review
mhdostal Dec 12, 2022
eda5df3
Remove unnecessary background color for error image.
mhdostal Dec 12, 2022
0aa4289
Merge pull request #217 from Esri/mhd/BasemapGallerSelection
mhdostal Dec 12, 2022
f35571a
Use final popup example map.
mhdostal Dec 12, 2022
9bdf282
Merge pull request #218 from Esri/mhd/FinalPopupExampleMap
mhdostal Dec 12, 2022
370161e
Merge pull request #206 from Esri/mhd/ReleasePrep
mhdostal Dec 12, 2022
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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.DS_Store
/.build
/Packages
xcuserdata/
/*.xcodeproj
DerivedData/
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
86 changes: 86 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
custom_rules:
spatial_reference_web_mercator:
name: Web Mercator Spatial Reference
regex: SpatialReference\(wkid:\s*(3857|102100)\)
message: "Use 'SpatialReference.webMercator' instead."
spatial_reference_wgs84:
name: WGS84 Spatial Reference
regex: SpatialReference\(wkid:\s*(4326)\)
message: "Use 'SpatialReference.wgs84' instead."
simple_closure:
name: Simple Closure
regex: (-> Void in)|(\(\) in)
message: "Void return and empty arguments should be avoided in closures."
closure_opening_space:
name: Closure Opening Space
regex: \{\[|\{\s{2,}\[
message: "Use one space between the brace and bracket."

# Rule identifiers to exclude from running
disabled_rules:
- file_length
- for_where
- force_cast
- line_length
- notification_center_detachment
- type_body_length
- type_name

# Some rules are only opt-in
opt_in_rules:
- anyobject_protocol
- array_init
- attributes
- closure_end_indentation
- closure_spacing
- collection_alignment
- contains_over_first_not_nil
- convenience_type
- discouraged_direct_init
- discouraged_optional_boolean
- empty_count
- empty_string
- empty_xctest_method
- explicit_init
- extension_access_modifier
- fatal_error_message
- first_where
- function_default_parameter_at_end
- identical_operands
- joined_default_parameter
- legacy_random
- let_var_whitespace
- literal_expression_end_indentation
- lower_acl_than_parent
- missing_docs
- modifier_order
- multiline_arguments
- multiline_function_chains
- multiline_parameters
- operator_usage_whitespace
- operator_whitespace
- overridden_super_call
- override_in_extension
- prohibited_super_call
- redundant_nil_coalescing
- redundant_type_annotation
- sorted_first_last
- static_operator
- toggle_bool
- trailing_closure
- untyped_error_in_catch
- vertical_parameter_alignment_on_call
- vertical_whitespace_closing_braces
- vertical_whitespace_opening_braces
- yoda_condition

identifier_name:
min_length:
# Do not flag short identifiers
warning: 0
trailing_closure:
only_single_muted_parameter: true
trailing_whitespace:
ignores_empty_lines: true
multiline_arguments:
only_enforce_after_first_closure_on_first_line: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1250"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ArcGISToolkit-Swift"
BuildableName = "ArcGISToolkit-Swift"
BlueprintName = "ArcGISToolkit-Swift"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ArcGISToolkit-SwiftTests"
BuildableName = "ArcGISToolkit-SwiftTests"
BlueprintName = "ArcGISToolkit-SwiftTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ArcGISToolkitSwift"
BuildableName = "ArcGISToolkitSwift"
BlueprintName = "ArcGISToolkitSwift"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ArcGISToolkit"
BuildableName = "ArcGISToolkit"
BlueprintName = "ArcGISToolkit"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ArcGISToolkitTests"
BuildableName = "ArcGISToolkitTests"
BlueprintName = "ArcGISToolkitTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ArcGISToolkit-Swift"
BuildableName = "ArcGISToolkit-Swift"
BlueprintName = "ArcGISToolkit-Swift"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading