content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
//\n// ListCustomListCoordinator.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-03-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport MullvadTypes\nimport Routing\nimport UIKit\n\nclass ListCustomListCoordinator: Coordinator, Presentable, Presenting {\...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\ListCustomListCoordinator.swift
ListCustomListCoordinator.swift
Swift
4,733
0.95
0.064748
0.059322
node-utils
360
2024-09-03T11:26:37.924858
Apache-2.0
false
1ce8c23f83bb3365b7fba0dc40f39528
//\n// ListCustomListViewController.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-03-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\nprivate enum SectionIdentifier: Hashable {\n case `default`\n}\n\nprivate struct ItemIdentifier: Hashab...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\ListCustomListViewController.swift
ListCustomListViewController.swift
Swift
4,808
0.95
0.046053
0.056452
node-utils
96
2024-02-07T19:34:16.088016
BSD-3-Clause
false
7592c8f955fec2f7f6ddf46a02a97f8e
//\n// SettingsChildCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 08/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\n\n/// Types that are child coordinators of ``SettingsCoordinator``.\nprotocol SettingsChildCoordinator: Coordinator {\n func start(anim...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\SettingsChildCoordinator.swift
SettingsChildCoordinator.swift
Swift
323
0.95
0
0.666667
node-utils
706
2025-02-22T16:01:09.196298
GPL-3.0
false
7c0ceae5116089b6b3bc27647188595f
//\n// SettingsCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadLogging\nimport MullvadSettings\nimport Operations\nimport Routing\nimport SwiftUI\nimport UIKit\n\n/// Settings navigation route.\nenum Settings...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\SettingsCoordinator.swift
SettingsCoordinator.swift
Swift
9,135
0.95
0.079422
0.237885
vue-tools
600
2025-03-11T22:38:02.183671
MIT
false
40b66ef3bdee6d8d193f49254c908f67
//\n// SettingsFieldValidationErrorConfiguration.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nstruct SettingsFieldValidationError: LocalizedError, Equatable {\n var errorDescription: String?\n}\n\nstruct Sett...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\SettingsFieldValidationErrorConfiguration.swift
SettingsFieldValidationErrorConfiguration.swift
Swift
781
0.95
0.038462
0.333333
awesome-app
682
2024-09-15T23:47:28.017302
BSD-3-Clause
false
37c49b56a66d50ef9e18cf2c3b9c5e42
//\n// SettingsFieldValidationErrorContentView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass SettingsFieldValidationErrorContentView: UIView, UIContentView {\n let contentView = UIStackView()\n\n var ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\SettingsFieldValidationErrorContentView.swift
SettingsFieldValidationErrorContentView.swift
Swift
2,797
0.95
0.011111
0.101449
vue-tools
970
2024-03-03T20:11:20.143433
GPL-3.0
false
24da30202414693df17781eb77f2ce0a
//\n// SettingsValidationErrorConfiguration.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nstruct SettingsValidationErrorConfiguration: UIContentConfiguration, Equatable {\n var errors: [CustomListFieldValidati...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\SettingsValidationErrorConfiguration.swift
SettingsValidationErrorConfiguration.swift
Swift
666
0.95
0.045455
0.388889
node-utils
241
2023-11-08T18:30:23.985943
BSD-3-Clause
false
435ee83f28bfbe408d2ae97122a01436
//\n// SettingsValidationErrorContentView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass SettingsValidationErrorContentView: UIView, UIContentView {\n let contentView = UIStackView()\n\n var icon: UIIm...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\SettingsValidationErrorContentView.swift
SettingsValidationErrorContentView.swift
Swift
2,770
0.95
0.011111
0.101449
react-lib
74
2025-02-17T08:37:59.160946
GPL-3.0
false
e7a4cbcb7c9d52a64cee46c7a1ff2571
//\n// SettingsViewControllerFactory.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-26.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport Routing\nimport SwiftUI\nimport UIKit\n\n@MainActor\nstruct SettingsViewControllerFactory {\n /// The result of...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\SettingsViewControllerFactory.swift
SettingsViewControllerFactory.swift
Swift
4,771
0.95
0.022388
0.118644
react-lib
295
2023-08-27T14:43:24.677504
GPL-3.0
false
8a6f0d1bcd1a0e8a9b154f8afb2e803a
//\n// TunnelSettingsObservable.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\n\nprotocol TunnelSettingsObservable<TunnelSetting>: ObservableObject {\n associatedtype TunnelSetting\n\n var value: Tun...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\TunnelSettingsObservable.swift
TunnelSettingsObservable.swift
Swift
856
0.95
0.028571
0.269231
python-kit
767
2025-04-20T06:44:21.356921
MIT
false
de8258c3ed67dd7b189e4a4d2991d893
//\n// AboutViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 08/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// View controller used for presenting a detailed information on some topic using a scrollable stack view.\nclass AboutViewController: UIViewC...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\AboutViewController.swift
AboutViewController.swift
Swift
2,658
0.95
0.054348
0.111111
react-lib
399
2024-07-27T21:49:27.479435
GPL-3.0
false
ae6eb448d53c3fd0110b1784f80be206
//\n// Binding.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport UIKit\n\nextension CurrentValueSubject {\n /// Creates `UIAction` that automatically updates the value from text field.\n ///\n /// - Param...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\CurrentValueSubject+UIActionBindings.swift
CurrentValueSubject+UIActionBindings.swift
Swift
1,204
0.95
0.027778
0.483871
node-utils
866
2025-04-18T12:22:27.777166
MIT
false
0b3abaa1607ed2cff10aca3a2f1430bb
//\n// Publisher+PreviousValue.swift\n// MullvadVPN\n//\n// Created by pronebird on 27/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport Foundation\n\nextension Publisher {\n /// A publisher producing a pair that contains the previous and new value.\n ///\n //...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Publisher+PreviousValue.swift
Publisher+PreviousValue.swift
Swift
532
0.95
0
0.588235
awesome-app
246
2024-11-27T03:31:46.575913
MIT
false
f096b83a40013a1679c1a36040eafbaa
//\n// AddAccessMethodCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 08/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport Routing\nimport UIKit\n\nclass AddAccessMethodCoordinator: Coordinator, Presentable, Presenting {\n pr...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Add\AddAccessMethodCoordinator.swift
AddAccessMethodCoordinator.swift
Swift
3,633
0.95
0.009615
0.08046
python-kit
251
2023-12-16T15:15:29.121752
BSD-3-Clause
false
9b642f8045121df854a0457819d91365
//\n// BasicCell.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Basic cell that supports dynamic background configuration and custom cell disclosure.\nclass BasicCell: UITableViewCell, DynamicBackgroundConfigurati...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\BasicCell.swift
BasicCell.swift
Swift
1,825
0.95
0.033333
0.163265
vue-tools
137
2025-05-01T07:35:46.204603
GPL-3.0
false
ef96a7620bad73f14a36005858713458
//\n// ButtonCellConfiguration.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// The content configuration for cells that contain the full-width button.\nstruct ButtonCellContentConfiguration: UIContentConfiguration,...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\ButtonCellContentConfiguration.swift
ButtonCellContentConfiguration.swift
Swift
1,208
0.95
0.066667
0.4
node-utils
142
2023-11-25T05:32:18.906280
GPL-3.0
false
abd79164e5a733eaa848d07bd474868d
//\n// ButtonCellContentView.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Content view presenting a full-width button.\nclass ButtonCellContentView: UIView, UIContentView {\n private let button = AppButton()\...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\ButtonCellContentView.swift
ButtonCellContentView.swift
Swift
2,605
0.95
0.051282
0.147541
vue-tools
184
2024-10-06T09:48:35.393778
GPL-3.0
false
95688af2d62d6aacefc05c36b6d9a066
//\n// CustomCellDisclosureHandling.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Types handling custom disclosure accessory in table view cells.\nprotocol CustomCellDisclosureHandling: UITableViewCell {\n ///...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\CustomCellDisclosureHandling.swift
CustomCellDisclosureHandling.swift
Swift
520
0.95
0
0.733333
react-lib
608
2024-05-10T19:24:02.649146
BSD-3-Clause
false
c580989f5b0fe91d3b26b50fc831c400
//\n// DynamicBackgroundConfiguration.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Types providing dynamic background configuration based on cell configuration state.\nprotocol DynamicBackgroundConfiguration: UI...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\DynamicBackgroundConfiguration.swift
DynamicBackgroundConfiguration.swift
Swift
1,671
0.95
0.05
0.485714
python-kit
757
2025-01-25T01:03:06.205946
GPL-3.0
false
81bb3377ee1d926d9aa55d5d3b7faa30
//\n// ListCellContentConfiguration.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Content configuration presenting a label and switch control.\nstruct ListCellContentConfiguration: UIContentConfiguration, Equ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\ListCellContentConfiguration.swift
ListCellContentConfiguration.swift
Swift
1,561
0.95
0.036364
0.266667
awesome-app
896
2023-11-17T09:30:20.352477
MIT
false
8c2cf79bf8ad4701ee05a9ff43fce9ad
//\n// ListCellContentView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Content view presenting a primary, secondary (trailing) and tertiary (below primary) label.\nclass ListCellContentView: UIView, UIConte...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\ListCellContentView.swift
ListCellContentView.swift
Swift
3,449
0.95
0.009709
0.101266
awesome-app
690
2024-08-30T00:45:59.945229
Apache-2.0
false
5c6909cebcc6fc06e428d1e77039a6fa
//\n// SwitchCellContentConfiguration.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Content configuration presenting a label and switch control.\nstruct SwitchCellContentConfiguration: UIContentConfiguration, Equ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\SwitchCellContentConfiguration.swift
SwitchCellContentConfiguration.swift
Swift
1,135
0.95
0.047619
0.40625
awesome-app
42
2024-06-10T12:55:32.563918
Apache-2.0
false
de6437211d21784e2e7428798bd081bf
//\n// SwitchCellContentView.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Content view presenting a label and switch control.\nclass SwitchCellContentView: UIView, UIContentView, UITextFieldDelegate {\n priva...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\SwitchCellContentView.swift
SwitchCellContentView.swift
Swift
4,863
0.95
0.032051
0.079365
vue-tools
10
2024-01-24T14:35:20.883653
Apache-2.0
false
567d1b44134f4de90fcb76b897babfce
//\n// TextCellContentConfiguration+Extensions.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension TextCellContentConfiguration.TextFieldProperties {\n /// Returns text field properties configured with au...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\TextCellContentConfiguration+Extensions.swift
TextCellContentConfiguration+Extensions.swift
Swift
1,743
0.95
0.018868
0.255319
react-lib
664
2024-08-02T09:26:47.058778
Apache-2.0
false
5f08a721f929b03818927ae85171700e
//\n// TextCellContentConfiguration.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Content configuration presenting a label and text field.\nstruct TextCellContentConfiguration: UIContentConfiguration, Equatable {...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\TextCellContentConfiguration.swift
TextCellContentConfiguration.swift
Swift
5,495
0.95
0.0375
0.387597
react-lib
782
2023-08-10T15:19:09.490617
GPL-3.0
false
e6888965105a57714a1e2b2f2d8aa00e
//\n// TextCellContentView.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Content view presenting a label and text field.\nclass TextCellContentView: UIView, UIContentView, UIGestureRecognizerDelegate, Sendable {\...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Cells\TextCellContentView.swift
TextCellContentView.swift
Swift
8,229
0.95
0.083333
0.1
awesome-app
680
2024-05-29T08:52:24.111711
MIT
false
250d1185720b3b0a2ea13eb82939088b
//\n// AccessMethodCellReuseIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Cell reuse identifier used by table view controllers implementing various parts of API access management.\nenum AccessMeth...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Common\AccessMethodCellReuseIdentifier.swift
AccessMethodCellReuseIdentifier.swift
Swift
872
0.95
0.029412
0.538462
node-utils
7
2024-10-27T19:30:03.596656
GPL-3.0
false
33441afbe78ee14ad00e9656f6882a06
//\n// AccessMethodHeaderFooterReuseIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Header footer view reuse identifier used in view controllers implementing access method management.\nenum AccessMethodH...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Common\AccessMethodHeaderFooterReuseIdentifier.swift
AccessMethodHeaderFooterReuseIdentifier.swift
Swift
545
0.95
0.05
0.470588
react-lib
841
2024-08-13T08:08:55.447205
BSD-3-Clause
false
38fe04c7befdf3186501591af10fb43d
//\n// AccessMethodViewModelEditing.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-23.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\n\nprotocol AccessMethodEditing: AnyObject {\n func accessMethodDidSave(_ accessMethod: PersistentAccessMethod)\n}\n
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Common\AccessMethodViewModelEditing.swift
AccessMethodViewModelEditing.swift
Swift
304
0.95
0
0.636364
awesome-app
320
2024-05-29T11:16:42.417149
BSD-3-Clause
false
6de04fdd70106d0d951b1cb4a1be269f
//\n// ProxyProtocolConfigurationItemIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Item identifier used by diffable data sources implementing proxy configuration.\nenum ProxyProtocolConfigurationI...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Common\ProxyProtocolConfigurationItemIdentifier.swift
ProxyProtocolConfigurationItemIdentifier.swift
Swift
1,051
0.95
0.085714
0.322581
node-utils
935
2025-05-17T10:55:24.403064
GPL-3.0
false
88766e0463cef6b1a503695426c99374
//\n// ShadowsocksItemIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Item identifier used by diffable data sources implementing shadowsocks configuration.\nenum ShadowsocksItemIdentifier: Hashable,...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Common\ShadowsocksItemIdentifier.swift
ShadowsocksItemIdentifier.swift
Swift
1,454
0.95
0.065217
0.268293
react-lib
149
2025-03-02T10:49:32.805886
MIT
false
886453240faf3464cb5911f1d3c7229c
//\n// ShadowsocksSectionHandler.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport UIKit\n\n/// Type responsible for handling cells in shadowsocks table view section.\n@MainActor\nstruct ShadowsocksSectionHandler ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Common\ShadowsocksSectionHandler.swift
ShadowsocksSectionHandler.swift
Swift
3,641
0.95
0.038462
0.115942
awesome-app
614
2024-11-18T20:04:39.575201
MIT
false
e47c1cd22757853f23dadb5315898196
//\n// SocksItemIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Item identifier used by diffable data sources implementing socks configuration.\nenum SocksItemIdentifier: Hashable, CaseIterable {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Common\SocksItemIdentifier.swift
SocksItemIdentifier.swift
Swift
2,143
0.95
0.079365
0.263158
vue-tools
511
2024-05-14T19:45:53.750523
BSD-3-Clause
false
973b89aae1d362fe2fa61a67c9102b21
//\n// SocksSectionHandler.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport UIKit\n\n/// Type responsible for handling cells in socks table view section.\n@MainActor\nstruct SocksSectionHandler {\n private let...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Common\SocksSectionHandler.swift
SocksSectionHandler.swift
Swift
4,555
0.95
0.021739
0.096386
node-utils
974
2024-09-18T14:18:47.917167
MIT
false
493cdd667cc8a986cd35e3cb3166f001
//\n// EditAccessMethodCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 21/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport Routing\nimport UIKit\n\nclass EditAccessMethodCoordinator: Coordinator, Presenting {\n let navigatio...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\EditAccessMethodCoordinator.swift
EditAccessMethodCoordinator.swift
Swift
5,664
0.95
0.006623
0.056452
awesome-app
155
2024-04-04T11:13:28.618900
GPL-3.0
false
3b910291c0ddb783b2991137ca228e81
//\n// EditAccessMethodInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n@preconcurrency import Combine\nimport Foundation\nimport MullvadSettings\n\nstruct EditAccessMethodInteractor: EditAccessMethodInteractorProtocol {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\EditAccessMethodInteractor.swift
EditAccessMethodInteractor.swift
Swift
1,404
0.95
0.041667
0.194444
awesome-app
747
2024-08-16T04:42:01.408484
Apache-2.0
false
39140a9ffaa76a3c61bf2ff202ced9a8
//\n// EditAccessMethodInteractorProtocol.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\n\n/// The type implementing the interface for persisting changes to the underlying access method view model in the editi...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\EditAccessMethodInteractorProtocol.swift
EditAccessMethodInteractorProtocol.swift
Swift
1,077
0.95
0.12
0.772727
node-utils
372
2024-03-01T08:17:16.128706
BSD-3-Clause
false
aa60fefe3955849547f4b9a3eee48914
//\n// EditAccessMethodItemIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum EditAccessMethodItemIdentifier: Hashable {\n case enableMethod\n case methodSettings\n case testMethod\n case ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\EditAccessMethodItemIdentifier.swift
EditAccessMethodItemIdentifier.swift
Swift
2,173
0.95
0.1
0.171875
vue-tools
216
2025-01-09T17:43:36.570423
GPL-3.0
false
d7355178c48d1a98135e6f86d26c414c
//\n// EditAccessMethodSectionIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum EditAccessMethodSectionIdentifier: Hashable {\n case enableMethod\n case methodSettings\n case testMethod\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\EditAccessMethodSectionIdentifier.swift
EditAccessMethodSectionIdentifier.swift
Swift
860
0.95
0.029412
0.266667
react-lib
2
2025-01-11T01:46:44.789732
BSD-3-Clause
false
66966309ac245d181cabec37f42affbe
//\n// EditAccessMethodViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport UIKit\n\n/// The view controller providing the interface for editing the existing access method.\ncla...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\EditAccessMethodViewController.swift
EditAccessMethodViewController.swift
Swift
15,852
0.95
0.056235
0.056716
react-lib
547
2023-11-11T23:19:40.860451
GPL-3.0
false
d363e85fd85b1fd8b7d2a5f2ebbc7138
//\n// EditAccessMethodViewControllerDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nprotocol EditAccessMethodViewControllerDelegate: AnyObject, AccessMethodEditing {\n /// The ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\EditAccessMethodViewControllerDelegate.swift
EditAccessMethodViewControllerDelegate.swift
Swift
1,097
0.95
0
0.695652
react-lib
763
2024-07-05T02:27:48.046804
MIT
false
9c9a8424a7c4f5dc1b3967395d5026a7
//\n// ProxyConfigurationInteractorProtocol.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\n/// The type implementing the facilities for testing proxy configuration.\nprotocol ProxyConfigurati...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\ProxyConfigurationInteractorProtocol.swift
ProxyConfigurationInteractorProtocol.swift
Swift
1,279
0.95
0.090909
0.62069
awesome-app
140
2024-11-25T14:21:27.008749
GPL-3.0
false
7a8f4814363085d2477b52f4fb3c458b
//\n// MethodSettingsCellConfiguration.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadTypes\nimport UIKit\n\n@MainActor\nclass MethodSettingsCellConfiguration {\n private let subject: CurrentValue...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\MethodSettings\MethodSettingsCellConfiguration.swift
MethodSettingsCellConfiguration.swift
Swift
7,131
0.95
0.036649
0.04375
python-kit
265
2024-03-05T06:53:21.681931
GPL-3.0
false
2bdb9e5351032f9528cd2b25bb582949
//\n// MethodSettingsDataSourceConfiguration.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n@MainActor\nclass MethodSettingsDataSourceConfiguration {\n private let dataSource: UITableViewDiffableDataSource<\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\MethodSettings\MethodSettingsDataSourceConfiguration.swift
MethodSettingsDataSourceConfiguration.swift
Swift
4,593
0.95
0.132231
0.148515
vue-tools
104
2024-10-31T09:04:47.977879
Apache-2.0
false
3a119635c8883ef34cb109173d706ae8
//\n// MethodSettingsItemIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 22/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum MethodSettingsItemIdentifier: Hashable {\n case name\n case `protocol`\n case proxyConfiguration(ProxyProtocolConfi...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\MethodSettings\MethodSettingsItemIdentifier.swift
MethodSettingsItemIdentifier.swift
Swift
3,870
0.95
0.087719
0.12381
python-kit
646
2025-06-07T19:07:36.994598
MIT
false
f6a42c2255f821480825dae1af3a2f92
//\n// MethodSettingsSectionIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 21/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum MethodSettingsSectionIdentifier: Hashable {\n case name\n case `protocol`\n case proxyConfiguration\n case va...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\MethodSettings\MethodSettingsSectionIdentifier.swift
MethodSettingsSectionIdentifier.swift
Swift
763
0.95
0.03125
0.241379
react-lib
431
2025-01-18T13:56:18.434780
GPL-3.0
false
636e355f4eaa7ac08de5e45c99c88ca0
//\n// MethodSettingsViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 21/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport struct MullvadTypes.Duration\nimport UIKit\n\n/// The view controller providing the interface for editing method settings\n/// ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\MethodSettings\MethodSettingsViewController.swift
MethodSettingsViewController.swift
Swift
12,911
0.95
0.058496
0.051195
vue-tools
666
2024-07-08T19:21:40.358129
MIT
false
567f12f5b5b9f34012f4d89cec3b4c8d
//\n// MethodSettingsViewControllerDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nprotocol MethodSettingsViewControllerDelegate: AnyObject, AccessMethodEditing {\n func controllerShouldShowProtocolPic...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Edit\MethodSettings\MethodSettingsViewControllerDelegate.swift
MethodSettingsViewControllerDelegate.swift
Swift
457
0.95
0
0.583333
python-kit
199
2025-06-23T08:40:08.133875
Apache-2.0
false
d394fd7f315d708d8566ac4f9878f8bd
//\n// ListAccessMethodCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 08/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport Routing\nimport UIKit\n\nclass ListAccessMethodCoordinator: Coordinator, Presenting, SettingsChildCoordinator {\n let...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\List\ListAccessMethodCoordinator.swift
ListAccessMethodCoordinator.swift
Swift
5,197
0.95
0.006897
0.062992
python-kit
198
2025-04-14T03:55:34.603512
GPL-3.0
false
d3b6a5a2c6a9597794fceafea555c4de
//\n// ListAccessMethodInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 02/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\n\n/// A concrete implementation of an API access list interactor.\nstruct ListAccessMethodInteractor: ListAccess...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\List\ListAccessMethodInteractor.swift
ListAccessMethodInteractor.swift
Swift
1,909
0.95
0
0.145455
awesome-app
738
2024-02-05T20:01:35.235166
Apache-2.0
false
1ac2b992f6531cbf2936c1647d871cc5
//\n// ListAccessMethodInteractorProtocol.swift\n// MullvadVPN\n//\n// Created by pronebird on 02/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\n\n/// Types describing API access list interactor.\nprotocol ListAccessMethodInteractorProtocol {\n /...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\List\ListAccessMethodInteractorProtocol.swift
ListAccessMethodInteractorProtocol.swift
Swift
806
0.95
0
0.6
node-utils
318
2023-12-23T17:29:16.560964
BSD-3-Clause
false
da87e88532ce6a9d0c6c0cd3138b9c41
//\n// ListAccessMethodItem.swift\n// MullvadVPN\n//\n// Created by pronebird on 02/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// A concrete implementation of an API access list item.\nstruct ListAccessMethodItem: Hashable, Identifiable, Equatable {\n /// The ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\List\ListAccessMethodItem.swift
ListAccessMethodItem.swift
Swift
535
0.95
0
0.631579
awesome-app
406
2023-08-25T01:11:06.160661
Apache-2.0
false
0703d1f2daeecfd2a303dc9802856d4b
//\n// ListAccessMethodViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 02/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadREST\nimport MullvadSettings\nimport UIKit\n\nenum ListAccessMethodSectionIdentifier: Hashable {\n case primary\n}\...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\List\ListAccessMethodViewController.swift
ListAccessMethodViewController.swift
Swift
8,749
0.95
0.046332
0.047847
awesome-app
51
2024-03-22T12:34:19.412109
GPL-3.0
false
dfaea476fdcb4656bd3250adc53a0b08
//\n// ListAccessMethodViewControllerDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nprotocol ListAccessMethodViewControllerDelegate: AnyObject {\n /// The view controller requests the delegate to pres...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\List\ListAccessMethodViewControllerDelegate.swift
ListAccessMethodViewControllerDelegate.swift
Swift
1,072
0.95
0.035714
0.75
python-kit
890
2024-02-21T16:10:41.544453
BSD-3-Clause
false
227798b78108ea10f3995b4f38c0195f
//\n// AccessMethodKind.swift\n// MullvadVPN\n//\n// Created by pronebird on 02/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\n/// A kind of API access method.\nenum AccessMethodKind: Equatable, Hashable, CaseIterable {\n /// Direct communic...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Models\AccessMethodKind.swift
AccessMethodKind.swift
Swift
2,214
0.95
0.071429
0.260274
react-lib
529
2025-01-15T19:55:06.753153
Apache-2.0
false
576e804298ba0c2eda2c8b9b5c5c7455
//\n// AccessMethodValidationError.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\n/// Access method validation error that holds an array of individual per-field validation errors.\nstruct Acc...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Models\AccessMethodValidationError.swift
AccessMethodValidationError.swift
Swift
3,278
0.95
0.017241
0.2
react-lib
419
2024-04-13T18:46:31.482464
BSD-3-Clause
false
e4420bd484cdfb3a1e73bde88e2baa03
//\n// AccessMethodViewModel+NavigationItem.swift\n// MullvadVPN\n//\n// Created by pronebird on 29/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension AccessMethodViewModel {\n /// Title suitable for navigation item.\n /// User-defined name is preferred un...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Models\AccessMethodViewModel+NavigationItem.swift
AccessMethodViewModel+NavigationItem.swift
Swift
576
0.95
0.095238
0.473684
python-kit
55
2024-06-16T09:22:12.306445
MIT
false
2a93bef177749a3df47b1d8959b6ed11
//\n// AccessMethodViewModel+Persistent.swift\n// MullvadVPN\n//\n// Created by pronebird on 15/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport MullvadTypes\nimport Network\n\nextension AccessMethodViewModel {\n /// Validate view model. ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Models\AccessMethodViewModel+Persistent.swift
AccessMethodViewModel+Persistent.swift
Swift
8,862
0.95
0.114894
0.188406
awesome-app
166
2024-10-19T04:08:21.459795
MIT
false
350f0942bc28d95c566d1fa6926d4a64
//\n// AccessMethodViewModel.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport MullvadTypes\n\n/// The view model used by view controllers editing access method data.\nstruct AccessMetho...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Models\AccessMethodViewModel.swift
AccessMethodViewModel.swift
Swift
9,042
0.95
0.021097
0.142857
python-kit
901
2025-01-16T03:50:08.241382
BSD-3-Clause
false
fc5e3559a4a496fb35dacc15f9d613d2
//\n// PersistentAccessMethod+ViewModel.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nextension PersistentAccessMethod {\n /// Convert persistent model into view model.\n /// - Retu...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Models\PersistentAccessMethod+ViewModel.swift
PersistentAccessMethod+ViewModel.swift
Swift
677
0.95
0
0.391304
awesome-app
776
2023-07-30T17:29:15.736641
GPL-3.0
false
e8d56ffc744b5df281e1dda66bdc9937
//\n// PersistentProxyConfiguration+ViewModel.swift\n// MullvadVPN\n//\n// Created by pronebird on 29/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nextension PersistentProxyConfiguration {\n /// View model for socks configuration.\n var ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Models\PersistentProxyConfiguration+ViewModel.swift
PersistentProxyConfiguration+ViewModel.swift
Swift
1,402
0.95
0.061224
0.214286
awesome-app
344
2025-06-27T23:44:37.512271
BSD-3-Clause
false
098d56788f6e52f4dbe374774c5161ef
//\n// AccessMethodProtocolPicker.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\n/// Type implementing the access method protocol picker.\n@MainActor\nstruct AccessMethodProtocolPicker {\n /...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Pickers\AccessMethodProtocolPicker.swift
AccessMethodProtocolPicker.swift
Swift
2,252
0.95
0.043478
0.254545
awesome-app
163
2025-01-17T00:33:35.655707
BSD-3-Clause
false
de6d9118788957ccd4c80744f3263936
//\n// ShadowsocksCipherPicker.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\n/// Type implementing the shadowsocks cipher picker.\n@MainActor\nstruct ShadowsocksCipherPicker {\n /// The nav...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\APIAccess\Pickers\ShadowsocksCipherPicker.swift
ShadowsocksCipherPicker.swift
Swift
2,185
0.95
0.044118
0.259259
react-lib
83
2025-04-17T14:02:54.380713
Apache-2.0
false
c22f77314692b09b52ecdbd6525ef93a
//\n// DAITASettingsCoordinator.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2025-01-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\nimport SwiftUI\n\nclass DAITASettingsCoordinator: Coordinator, SettingsChildCoordinator, Presentable, Presenting {\n private let na...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\DAITA\DAITASettingsCoordinator.swift
DAITASettingsCoordinator.swift
Swift
3,974
0.95
0.032258
0.064815
node-utils
267
2024-02-03T19:19:19.532192
Apache-2.0
false
c696b99964c19043f156f91630bc2413
//\n// DAITASettingsPromptItem.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-09-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nenum DAITASettingsPromptItem: CustomStringConvertible {\n case daitaSettingIncompatibleWithSinglehop(Setting)\n case daitaSettingInco...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\DAITA\DAITASettingsPromptItem.swift
DAITASettingsPromptItem.swift
Swift
1,348
0.95
0.066667
0.170732
react-lib
913
2024-01-09T20:28:44.265822
MIT
false
9f31a4191a9f4be08905393c54c32b37
//\n// DAITATunnelSettingsViewModel.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadSettings\n\nclass DAITATunnelSettingsViewModel: TunnelSettingsObserver, ObservableObject {\n typealias Tunnel...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\DAITA\DAITATunnelSettingsViewModel.swift
DAITATunnelSettingsViewModel.swift
Swift
3,627
0.95
0.121495
0.130952
react-lib
261
2025-05-26T07:03:26.215805
BSD-3-Clause
false
391baa68d19e396f79f13da082845397
//\n// SettingsDAITAView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport SwiftUI\n\nstruct SettingsDAITAView<ViewModel>: View where ViewModel: TunnelSettingsObservable<DAITASettings> {\n @StateObj...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\DAITA\SettingsDAITAView.swift
SettingsDAITAView.swift
Swift
5,388
0.95
0.013986
0.070866
python-kit
829
2025-07-06T13:16:47.136386
Apache-2.0
false
991b6f3869a6e84690b27497257bd4cc
//\n// IPOverrideCoordinator.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport MullvadTypes\nimport Routing\nimport UIKit\n\nclass IPOverrideCoordinator: Coordinator, Presenting, SettingsChildCoordinat...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\IPOverride\IPOverrideCoordinator.swift
IPOverrideCoordinator.swift
Swift
3,376
0.95
0.010101
0.081395
python-kit
199
2025-05-07T08:30:07.991236
BSD-3-Clause
false
99c6d79a3fa769b9c159ec8d94ebe2e8
//\n// IPOverrideInteractor.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-30.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadLogging\nimport MullvadSettings\nimport MullvadTypes\n\nfinal class IPOverrideInteractor {\n private let logger = Logger(...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\IPOverride\IPOverrideInteractor.swift
IPOverrideInteractor.swift
Swift
3,025
0.95
0.079208
0.109756
react-lib
161
2024-06-11T12:28:32.212473
BSD-3-Clause
false
c5ad6a6b57dce9a5dcc1caaa31fcd03c
//\n// IPOverrideStatus.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-17.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nenum IPOverrideStatus: Equatable, CustomStringConvertible {\n case active, noImports, importSuccessful(Context), importFailed(Context)\n\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\IPOverride\IPOverrideStatus.swift
IPOverrideStatus.swift
Swift
2,999
0.95
0.054945
0.096386
awesome-app
530
2024-07-21T03:14:04.671946
MIT
false
dde45b87d3ad50fc3fb9da45ae2172d7
//\n// IPOverrideStatusView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-17.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass IPOverrideStatusView: UIView {\n private lazy var titleLabel: UILabel = {\n let label = UILabel()\n label.font = .s...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\IPOverride\IPOverrideStatusView.swift
IPOverrideStatusView.swift
Swift
1,610
0.95
0.017241
0.145833
awesome-app
988
2025-06-19T03:44:07.480035
BSD-3-Clause
false
a27fa492fcdc8e74f1a5664446c7d185
//\n// IPOverrideTextViewController.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass IPOverrideTextViewController: UIViewController {\n private let interactor: IPOverrideInteractor\n private var textView...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\IPOverride\IPOverrideTextViewController.swift
IPOverrideTextViewController.swift
Swift
2,496
0.95
0.012048
0.101449
vue-tools
47
2025-01-16T23:13:03.810756
Apache-2.0
false
84bfcf1bbdb24bd95f0b5d2d7c29f66d
//\n// IPOverrideViewController.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport UIKit\n\nclass IPOverrideViewController: UIViewController {\n private let interactor: IPOverrideInte...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\IPOverride\IPOverrideViewController.swift
IPOverrideViewController.swift
Swift
6,758
0.95
0.044335
0.040462
react-lib
218
2024-09-01T00:37:37.079468
GPL-3.0
false
41bcddf0b67bd784e8508e5a222a63d9
//\n// IPOverrideViewControllerDelegate.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nprotocol IPOverrideViewControllerDelegate: AnyObject {\n func presentImportTextController()\n func presentAbout()\n...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\IPOverride\IPOverrideViewControllerDelegate.swift
IPOverrideViewControllerDelegate.swift
Swift
310
0.95
0
0.583333
python-kit
940
2024-09-14T02:08:26.050825
Apache-2.0
false
a2a18db53e9765dfec95795d374fa3fb
//\n// MultihopTunnelSettingsViewModel.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\n\nclass MultihopTunnelSettingsViewModel: TunnelSettingsObserver, ObservableObject {\n typealias TunnelSetting = Mult...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\Multihop\MultihopTunnelSettingsViewModel.swift
MultihopTunnelSettingsViewModel.swift
Swift
1,289
0.95
0.041667
0.216216
awesome-app
24
2025-06-11T03:03:53.414759
Apache-2.0
false
798a4259a2ec1696558cfb46989ce3db
//\n// SettingsMultihopView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport SwiftUI\n\nstruct SettingsMultihopView<ViewModel>: View where ViewModel: TunnelSettingsObservable<MultihopState> {\n @St...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\Multihop\SettingsMultihopView.swift
SettingsMultihopView.swift
Swift
1,956
0.95
0
0.148148
python-kit
186
2024-12-17T05:04:20.709883
MIT
false
664fb90594aee0a66b1395d423c5acb2
//\n// GroupedRowView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct GroupedRowView<Content: View>: View {\n let content: Content\n\n init(@ViewBuilder _ content: () -> Content) {\n self.cont...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\Views\GroupedRowView.swift
GroupedRowView.swift
Swift
818
0.95
0
0.275862
react-lib
887
2025-03-14T12:45:23.700516
GPL-3.0
false
69e014a61b3dc7d90bea0de4f95ab1c0
//\n// SettingsInfoContainerView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct SettingsInfoContainerView<Content: View>: View {\n let content: Content\n\n init(@ViewBuilder _ content: () -> Content...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\Views\SettingsInfoContainerView.swift
SettingsInfoContainerView.swift
Swift
791
0.95
0
0.275862
python-kit
773
2023-09-09T13:38:09.875950
MIT
false
4179c67a6d50da70e942784637f72d5d
//\n// SettingsInfoView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct SettingsInfoViewModel {\n let pages: [SettingsInfoViewModelPage]\n}\n\nstruct SettingsInfoViewModelPage: Hashable {\n let body:...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\Views\SettingsInfoView.swift
SettingsInfoView.swift
Swift
6,285
0.95
0.022857
0.088608
awesome-app
725
2023-12-24T07:54:15.010947
GPL-3.0
false
b66cf2786b6f003f968df8de37f25da1
//\n// SettingsRowViewFooter.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct SettingsRowViewFooter: View {\n let text: String\n\n var body: some View {\n Text(verbatim: text)\n .fon...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\Views\SettingsRowViewFooter.swift
SettingsRowViewFooter.swift
Swift
476
0.95
0
0.388889
python-kit
667
2023-07-31T13:48:04.614216
MIT
false
41d32e08b70204f9c7f07e2aca6fd8ec
//\n// SwitchRowView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct SwitchRowView: View {\n @Binding var isOn: Bool\n\n var disabled = false\n let text: String\n var accessibilityId: Accessibi...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\Settings\Views\SwitchRowView.swift
SwitchRowView.swift
Swift
1,201
0.95
0
0.186047
awesome-app
469
2024-05-22T08:32:20.362178
MIT
false
ea317a88de413893859e9191ca917918
//\n// Bundle+ProductVersion.swift\n// MullvadVPN\n//\n// Created by pronebird on 22/02/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension Bundle {\n /// Returns the product version string based on the following rules:\n ///\n /// 1. Dev builds (debug): XX...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\Bundle+ProductVersion.swift
Bundle+ProductVersion.swift
Swift
1,199
0.95
0.051282
0.514286
python-kit
62
2024-06-06T09:16:06.002023
Apache-2.0
false
908e761024f74c563a2cb2896284e87b
//\n// CGSize+Helpers.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-10-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension CGSize {\n // Function to deduct insets from CGSize\n func deducting(insets: NSDirectionalEdgeInsets) -> CGSize {\n let newWidth...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\CGSize+Helpers.swift
CGSize+Helpers.swift
Swift
482
0.95
0
0.5
react-lib
804
2024-06-15T23:09:36.255988
GPL-3.0
false
7d7c4e289ef557d64a4f57cfa523285c
//\n// CharacterSet+IPAddress.swift\n// MullvadVPN\n//\n// Created by pronebird on 07/10/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension CharacterSet {\n static var ipv4AddressCharset: CharacterSet {\n CharacterSet(charactersIn: "0123456789.")\n }\n...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\CharacterSet+IPAddress.swift
CharacterSet+IPAddress.swift
Swift
423
0.95
0
0.4375
awesome-app
392
2024-03-04T00:26:39.207905
BSD-3-Clause
false
9431d7bad42bcbf30ee8c1961ec1c06a
//\n// CodingErrors+CustomErrorDescription.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/02/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\nextension DecodingError: MullvadTypes.CustomErrorDescriptionProtocol {\n public var customErrorDes...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\CodingErrors+CustomErrorDescription.swift
CodingErrors+CustomErrorDescription.swift
Swift
1,504
0.95
0.074074
0.155556
awesome-app
344
2024-10-12T17:34:50.200126
Apache-2.0
false
857e59774200bad24b3fed69824a65ea
//\n// Collection+Sorting.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension Collection where Element: StringProtocol {\n public func caseInsensitiveSorted() -> [Element] {\n sorted { $0.caseI...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\Collection+Sorting.swift
Collection+Sorting.swift
Swift
578
0.95
0
0.388889
python-kit
355
2025-03-11T23:59:18.471633
BSD-3-Clause
false
b2be05106bec172a85c3c48c0e51adfc
//\n// Color.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-12-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nextension Color {\n /// Returns the color darker by the given percent (in range from 0..1)\n func darkened(by percent: CGFloat) -> Color? {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\Color+Helpers.swift
Color+Helpers.swift
Swift
363
0.95
0
0.571429
node-utils
860
2025-01-06T19:48:38.318508
MIT
false
9d1af6bbb5cd322d8f78364142e55103
//\n// Coordinator+Router.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-08-24.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Routing\n\nextension Coordinator {\n var applicationRouter: ApplicationRouter<AppRoute>? {\n var appCoordinator = self\n...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\Coordinator+Router.swift
Coordinator+Router.swift
Swift
503
0.95
0.045455
0.388889
python-kit
738
2024-07-27T09:30:09.300900
MIT
false
f17ac74efbc31f575a3562997f0a33f4
//\n// NEVPNStatus+Debug.swift\n// MullvadVPN\n//\n// Created by pronebird on 28/11/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport NetworkExtension\n\nextension NEVPNStatus: Swift.CustomStringConvertible {\n public var description: String {\n switch self {\n case .con...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\NEVPNStatus+Debug.swift
NEVPNStatus+Debug.swift
Swift
736
0.95
0.033333
0.25
awesome-app
311
2024-03-19T05:03:01.425788
GPL-3.0
false
420d03f2a8090ccd6d73673c63c97f22
//\n// NSAttributedString+Markdown.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/11/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension NSAttributedString {\n enum MarkdownElement {\n case bold\n }\n\n convenience init(\n markdownString: ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\NSAttributedString+Extensions.swift
NSAttributedString+Extensions.swift
Swift
1,592
0.95
0.038462
0.162791
react-lib
640
2023-09-05T19:16:46.782485
MIT
false
ef0eaf11c84a9613a9a7518e89c81492
//\n// NSLayoutConstraint+Helpers.swift\n// MullvadVPN\n//\n// Created by pronebird on 21/07/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension NSLayoutConstraint {\n /// Sets constraint priority and returns `self`\n func withPriority(_ priority: UILayoutPriority)...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\NSLayoutConstraint+Helpers.swift
NSLayoutConstraint+Helpers.swift
Swift
381
0.95
0
0.533333
vue-tools
711
2024-02-08T01:24:01.967736
BSD-3-Clause
false
730d7e6060eac39263089adcc27fae39
//\n// NSParagraphStyle+Extensions.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-06-27.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension NSParagraphStyle {\n static var alert: NSParagraphStyle {\n let style = NSMutableParagraphStyle()\n\n st...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\NSParagraphStyle+Extensions.swift
NSParagraphStyle+Extensions.swift
Swift
409
0.95
0
0.4375
python-kit
145
2025-03-18T06:48:25.606992
GPL-3.0
false
b94051c21e388ce89222f61f3dad2b02
//\n// NSRegularExpression+IPAddress.swift\n// MullvadVPN\n//\n// Created by pronebird on 30/10/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension NSRegularExpression {\n static var ipv4RegularExpression: NSRegularExpression {\n // Regular expression obta...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\NSRegularExpression+IPAddress.swift
NSRegularExpression+IPAddress.swift
Swift
2,899
0.95
0.037037
0.313725
react-lib
477
2025-05-04T01:13:33.306040
Apache-2.0
false
82a2cc7a6a406f2ff535b6f41c99a450
//\n// RESTCreateApplePaymentResponse.swift\n// MullvadVPN\n//\n// Created by Andreas Lif on 2022-08-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\n\nextension REST.CreateApplePaymentResponse {\n enum Context {\n case purchase\n case restoration\n }\n\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\RESTCreateApplePaymentResponse+Localization.swift
RESTCreateApplePaymentResponse+Localization.swift
Swift
2,758
0.95
0.054945
0.081395
node-utils
296
2024-05-12T14:38:34.749970
GPL-3.0
false
c1fa1d709f6caf844d574d59695bc1e3
//\n// RESTError+Display.swift\n// MullvadVPN\n//\n// Created by pronebird on 04/06/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\n\nextension REST.Error: MullvadTypes.DisplayError {\n public var displayErrorDescription: String? ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\RESTError+Display.swift
RESTError+Display.swift
Swift
2,898
0.95
0.043478
0.084337
react-lib
205
2024-03-06T09:40:16.710003
Apache-2.0
false
1042beac5bbc133175126d8a7a72e07c
//\n// SKError+Localized.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport StoreKit\n\nextension SKError: Foundation.LocalizedError {\n public var errorDescription: String? {\n switch code {\n case .unknown:\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\SKError+Localized.swift
SKError+Localized.swift
Swift
1,607
0.95
0.018868
0.137255
vue-tools
189
2025-01-08T16:22:02.804053
Apache-2.0
false
4f9a5d0e759f4563047997b4d0c6e433
//\n// SKProduct+Formatting.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/03/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport StoreKit\n\nextension SKProduct {\n var localizedPrice: String? {\n let formatter = NumberFormatter()\n formatter.l...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\SKProduct+Formatting.swift
SKProduct+Formatting.swift
Swift
423
0.95
0
0.411765
vue-tools
160
2025-03-19T11:55:37.596954
MIT
false
d49b9cd3e6300ffc61a7a8ce1f807d0b
//\n// SKProduct+Sorting.swift\n// MullvadVPN\n//\n// Created by Steffen Ernst on 2025-01-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport StoreKit\n\nextension Array where Element == SKProduct {\n func sortedByPrice() -> [SKProduct] {\n sorted { ($0.price as Decimal) < ($1.pric...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\SKProduct+Sorting.swift
SKProduct+Sorting.swift
Swift
333
0.95
0
0.538462
react-lib
652
2023-08-06T14:02:43.610388
GPL-3.0
false
a0529d1d1ff09f8318696ec7502563f0
//\n// StorePaymentManagerError+Display.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport StoreKit\n\nextension StorePaymentManagerError: DisplayError {\n var displayErrorDescription: St...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\StorePaymentManagerError+Display.swift
StorePaymentManagerError+Display.swift
Swift
3,379
0.95
0.044444
0.084337
python-kit
718
2024-03-11T14:31:19.489511
BSD-3-Clause
false
3f09a3cdcda7b500a004d98977d189a8
//\n// String+AccountFormatting.swift\n// MullvadVPN\n//\n// Created by Andreas Lif on 2022-06-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension String {\n var formattedAccountNumber: String {\n split(every: 4).joined(separator: " ")\n }\n}\n
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\String+AccountFormatting.swift
String+AccountFormatting.swift
Swift
295
0.95
0
0.538462
python-kit
236
2024-12-05T12:22:32.410280
Apache-2.0
false
db6206695fb19ca8c68d41f49b111eaa