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// OutgoingConnectionService.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-10-27.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport Network\n\nprotocol OutgoingConnectionServiceHandling {\n func getOutgoingConnectionInfo() async throws ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\OutgoingConnectionService.swift
OutgoingConnectionService.swift
Swift
1,520
0.95
0.081633
0.230769
node-utils
377
2024-08-08T16:53:42.167039
Apache-2.0
false
6e15e3b3825f98d252a2c6f1e0abf340
//\n// TunnelViewController.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-12-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MapKit\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport SwiftUI\n\nclass TunnelViewC...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\TunnelViewController.swift
TunnelViewController.swift
Swift
9,119
0.95
0.035714
0.053922
react-lib
637
2023-10-20T11:28:53.414748
BSD-3-Clause
false
2871562777aad4d19d6016a59947179b
//\n// TunnelViewControllerInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport MullvadTypes\n\nfinal class TunnelViewControllerInteractor: @unchecked Sendable {\n private let tu...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\TunnelViewControllerInteractor.swift
TunnelViewControllerInteractor.swift
Swift
3,430
0.95
0.029703
0.082353
awesome-app
326
2023-08-25T10:08:28.358602
GPL-3.0
false
557c5691b7948003cd88024fad93ae03
//\n// ButtonPanel.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2025-01-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nextension ConnectionView {\n internal struct ButtonPanel: View {\n typealias Action = (ConnectionViewViewModel.TunnelAction) -> Void\n\...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\ButtonPanel.swift
ButtonPanel.swift
Swift
3,389
0.95
0.022222
0.096386
awesome-app
979
2023-08-21T22:48:22.737713
BSD-3-Clause
false
885548a0293c430a4970e690a745e227
//\n// ConnectionView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-12-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct ConnectionView: View {\n @ObservedObject var connectionViewModel: ConnectionViewViewModel\n @ObservedObject var indicatorsViewMod...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\ConnectionView.swift
ConnectionView.swift
Swift
4,023
0.95
0.02
0.1
node-utils
263
2025-05-05T16:02:38.659565
MIT
false
e3d94b83a923d09ae7d9449b54e4a457
//\n// ConnectionViewComponentPreview.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2025-01-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadMockData\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport PacketTunnelCore\nimport SwiftUI\n\nstruct Conne...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\ConnectionViewComponentPreview.swift
ConnectionViewComponentPreview.swift
Swift
2,729
0.95
0
0.097222
vue-tools
108
2023-11-04T05:24:23.285690
BSD-3-Clause
false
b1c227cb9bff7a457e408f09d9be2a0e
//\n// ConnectionViewViewModel.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-12-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport SwiftUI\n\nclass ConnectionViewViewModel: ObservableObject {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\ConnectionViewViewModel.swift
ConnectionViewViewModel.swift
Swift
7,661
0.95
0.058091
0.033333
node-utils
210
2025-02-06T14:39:05.204941
Apache-2.0
false
240e9a01ba2c9e18a5007ad24bfbdcf8
//\n// DestinationDescriber.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2025-01-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n// A source of truth for converting an exit relay destination (i.e., a relay or list) into a name\n\nimport MullvadREST\nimport MullvadSettings\nimport Mul...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\DestinationDescriber.swift
DestinationDescriber.swift
Swift
2,557
0.95
0.082192
0.174603
react-lib
613
2025-03-21T19:11:45.464572
GPL-3.0
false
cedb3a2ac9c7b89f609abb4fa9f6f358
//\n// DetailsView.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2025-01-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nextension ConnectionView {\n internal struct DetailsView: View {\n @ObservedObject var viewModel: ConnectionViewViewModel\n @Sta...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\DetailsView.swift
DetailsView.swift
Swift
3,069
0.95
0.05
0.108108
node-utils
647
2023-09-26T04:49:59.385377
GPL-3.0
false
fe261cf055443359cdba01ddb97f2d3d
//\n// FeatureIndicatorsViewModel.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-12-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport PacketTunnelCore\nimport SwiftUI\n\nclass FeatureIndicatorsViewModel: ChipViewModelProtocol {\n @Published var tunnelSett...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\FeatureIndicatorsViewModel.swift
FeatureIndicatorsViewModel.swift
Swift
1,714
0.95
0.057692
0.191489
node-utils
826
2024-02-06T20:22:17.837735
Apache-2.0
false
7a592bfc1b7d62ee37d7e286606b11b0
//\n// HeaderView.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2025-01-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nextension ConnectionView {\n internal struct HeaderView: View {\n @ObservedObject var viewModel: ConnectionViewViewModel\n @Bindi...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\HeaderView.swift
HeaderView.swift
Swift
3,610
0.95
0.022727
0.097561
node-utils
525
2025-04-08T23:01:16.088698
GPL-3.0
false
b32113ad5e9d993b0dac09cf542a6097
//\n// ChipContainerView.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-12-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct ChipContainerView<ViewModel>: View where ViewModel: ChipViewModelProtocol {\n @ObservedObject var viewModel: ViewModel\n let tunnelSt...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\ChipView\ChipContainerView.swift
ChipContainerView.swift
Swift
4,286
0.95
0.031496
0.068966
vue-tools
819
2024-10-10T17:43:03.845277
MIT
false
2520df39c30248c0cd8da1a408d9f02a
//\n// ChipFeature.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-12-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\nimport MullvadSettings\nimport PacketTunnelCore\nimport SwiftUI\n\n// Opting to use NSLocalizedString instead of LocalizedStringKey here in order\n// to be able to fetch th...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\ChipView\ChipFeature.swift
ChipFeature.swift
Swift
3,651
0.95
0.006993
0.122951
python-kit
902
2024-09-12T00:55:49.584898
GPL-3.0
false
e93caaae6140465771acd44f108cc194
//\n// FeatureChipModel.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-12-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport SwiftUI\n\nstruct ChipModel: Identifiable {\n var id: String { name }\n let name: String\n}\n
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\ChipView\ChipModel.swift
ChipModel.swift
Swift
266
0.95
0
0.538462
awesome-app
733
2024-10-13T16:10:24.797848
Apache-2.0
false
a646eebc52d4f3d0e4bb653cf7024c2a
//\n// FeatureChipView.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-12-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct ChipView: View {\n let item: ChipModel\n private let borderWidth: CGFloat = 1\n\n var body: some View {\n Text(item.name)\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\ChipView\ChipView.swift
ChipView.swift
Swift
1,196
0.95
0
0.205128
python-kit
939
2023-12-27T10:59:38.699838
GPL-3.0
false
0c8fc0d35ec0fa249ce94f9917c4c3fd
//\n// ChipViewModelProtocol.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-12-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nprotocol ChipViewModelProtocol: ObservableObject {\n var chips: [ChipModel] { get }\n}\n\nextension ChipViewModelProtocol {\n func chips...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\ConnectionView\ChipView\ChipViewModelProtocol.swift
ChipViewModelProtocol.swift
Swift
2,137
0.95
0.030769
0.12963
react-lib
112
2024-10-01T14:56:31.707942
Apache-2.0
false
fb2771c69a5f085e506387e307436a01
//\n// CustomDNSCellFactory.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-11-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\nprotocol CustomDNSCellEventHandler {\n func addDNSEntry()\n func didChangeDNSEntry(with identifier: UUID, in...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\CustomDNSCellFactory.swift
CustomDNSCellFactory.swift
Swift
7,863
0.95
0.072961
0.039604
node-utils
531
2024-04-24T11:16:34.465866
Apache-2.0
false
9c9fc90e189cd7b790ca74140f9e43e7
//\n// CustomDNSDataSource.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-11-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\nfinal class CustomDNSDataSource: UITableViewDiffableDataSource<\n CustomDNSDataSource.Section,\n CustomDNSDat...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\CustomDNSDataSource.swift
CustomDNSDataSource.swift
Swift
20,928
0.95
0.074074
0.033028
awesome-app
265
2025-05-03T15:57:14.531134
BSD-3-Clause
false
f36c08d11802d83b029b6e304d677aa2
//\n// CustomDNSViewController.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-11-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\nclass CustomDNSViewController: UITableViewController {\n private let interactor: VPNSettingsInteractor\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\CustomDNSViewController.swift
CustomDNSViewController.swift
Swift
3,584
0.95
0.018182
0.089888
node-utils
440
2024-12-31T05:27:22.224563
GPL-3.0
false
52685caff760ea878b6c67809f96cd5c
//\n// VPNSettingsCellFactory.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-03-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\nprotocol VPNSettingsCellEventHandler {\n func showInfo(for button: VPNSettingsInfoButtonItem)\n func showD...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\VPNSettingsCellFactory.swift
VPNSettingsCellFactory.swift
Swift
11,235
0.95
0.048443
0.041152
react-lib
809
2025-05-05T04:12:25.327559
Apache-2.0
false
b7edbf3813d4053076a7fafff937398a
//\n// VPNSettingsDataSource.swift\n// MullvadVPN\n//\n// Created by pronebird on 05/10/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\nfinal class VPNSettingsDataSource: UITableViewDiffableDataSource<\n VPNSettingsDataSource.Section,\n VPNSetting...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\VPNSettingsDataSource.swift
VPNSettingsDataSource.swift
Swift
25,363
0.95
0.076596
0.040067
awesome-app
363
2024-09-19T12:04:51.064990
BSD-3-Clause
false
4c25b3d022e93b59809ce093621a18d6
//\n// VPNSettingsDataSourceDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 11/10/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nprotocol DNSSettingsDataSourceDelegate: AnyObject {\n func didChangeViewModel(_ viewModel: VPNSetting...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\VPNSettingsDataSourceDelegate.swift
VPNSettingsDataSourceDelegate.swift
Swift
849
0.95
0.115385
0.304348
react-lib
121
2024-03-20T10:03:18.885333
BSD-3-Clause
false
90a2d8154c0b8fc4f8e98965bd55e750
//\n// VPNSettingsDetailsButtonItem.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-10-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nenum VPNSettingsDetailsButtonItem {\n case udpOverTcp\n case wireguardOverShadowsocks\n}\n
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\VPNSettingsDetailsButtonItem.swift
VPNSettingsDetailsButtonItem.swift
Swift
259
0.8
0
0.636364
vue-tools
404
2023-10-25T06:44:41.134352
Apache-2.0
false
adf741032a4ea8422523e5d0cb21ebfb
//\n// VPNSettingsInfoButtonItem.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-11-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum VPNSettingsInfoButtonItem: CustomStringConvertible {\n case localNetworkSharing\n case contentBlockers\n case bloc...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\VPNSettingsInfoButtonItem.swift
VPNSettingsInfoButtonItem.swift
Swift
4,595
0.95
0.026549
0.06422
vue-tools
467
2024-07-14T20:13:10.857971
Apache-2.0
false
f5f4f6266a56d18d044e568e3ef34390
//\n// VPNSettingsInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 31/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadSettings\n\nfinal class VPNSettingsInteractor {\n let tunnelManager: TunnelManager\n private var t...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\VPNSettingsInteractor.swift
VPNSettingsInteractor.swift
Swift
1,982
0.95
0.048387
0.14
node-utils
697
2025-03-11T10:05:46.683625
BSD-3-Clause
false
2dbdb2f056053795fe2b18f6ac8f76b8
//\n// VPNSettingsViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/05/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport SwiftUI\nimport UIKit\n\nprotocol VPNSettingsViewControllerDelegate: AnyObject {\n func showIPOverrides()\n}\n\nclass V...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\VPNSettingsViewController.swift
VPNSettingsViewController.swift
Swift
7,819
0.95
0.02765
0.037037
python-kit
82
2024-06-06T13:05:47.722002
BSD-3-Clause
false
53a030953531c6b34017a9ec4bad5d5c
//\n// VPNSettingsViewModel.swift\n// MullvadVPN\n//\n// Created by pronebird on 11/10/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport MullvadTypes\nimport UIKit\n\nenum CustomDNSPrecondition {\n /// Custom DNS can be enabled\n case satisfied\n\n /// Cu...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\VPNSettings\VPNSettingsViewModel.swift
VPNSettingsViewModel.swift
Swift
13,480
0.95
0.053299
0.075988
node-utils
260
2023-10-07T18:19:24.831627
MIT
false
682bdb5562521cb43b7f92ab3d25866b
//\n// AppButton.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/05/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// A subclass that implements action buttons used across the app\nclass AppButton: CustomButton {\n /// Default content insets based on current trait...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\AppButton.swift
AppButton.swift
Swift
4,978
0.95
0.092199
0.2
awesome-app
890
2024-05-16T02:43:18.219016
GPL-3.0
false
eabb42d0b5a47853b77693b8266bd6f3
//\n// BlurView.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\n/// Blurred (background) view using a `UIBlurEffect`.\nstruct BlurView: View {\n var style: UIBlurEffect.Style\n\n var body: some View {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\BlurView.swift
BlurView.swift
Swift
397
0.95
0
0.5
vue-tools
810
2023-09-17T12:50:12.860559
MIT
false
950fc93804bedfcc78f88a1d8ecd9bc8
//\n// CheckboxView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass CheckboxView: UIView {\n private let backgroundView: UIView = {\n let view = UIView()\n view.backgroundColor = .white\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\CheckboxView.swift
CheckboxView.swift
Swift
1,174
0.95
0.021277
0.179487
vue-tools
826
2023-07-15T11:45:59.755744
BSD-3-Clause
false
03c049942f9c99c2437e6df010a9e589
//\n// CustomButton.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/05/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension UIControl.State {\n var customButtonTitleColor: UIColor? {\n switch self {\n case .normal:\n return UIColor.AppB...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\CustomButton.swift
CustomButton.swift
Swift
1,923
0.95
0.041667
0.126984
vue-tools
607
2024-06-03T06:07:18.822712
MIT
false
38d44db93927b2dcf0817670bff359ff
//\n// CustomSwitch.swift\n// MullvadVPN\n//\n// Created by pronebird on 20/05/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass CustomSwitch: UISwitch {\n /// Returns the private `UISwitch` background view\n private var backgroundView: UIView? {\n // Go two l...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\CustomSwitch.swift
CustomSwitch.swift
Swift
1,809
0.95
0.044776
0.192308
awesome-app
926
2025-03-21T01:57:27.722242
MIT
false
00d9a3c070f23d0694953783252ad6b1
//\n// CustomSwitchContainer.swift\n// MullvadVPN\n//\n// Created by pronebird on 20/05/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass CustomSwitchContainer: UIView {\n static let borderEdgeInsets = UIEdgeInsets(top: 3, left: 3, bottom: 3, right: 3)\n\n private le...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\CustomSwitchContainer.swift
CustomSwitchContainer.swift
Swift
2,206
0.95
0.011111
0.115942
react-lib
102
2025-04-06T11:26:40.053815
BSD-3-Clause
false
7188fc8720c9dc53498c57f043d0b3e7
//\n// CustomTextField.swift\n// MullvadVPN\n//\n// Created by pronebird on 16/09/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass CustomTextField: UITextField {\n var cornerRadius: CGFloat = UIMetrics.controlCornerRadius {\n didSet {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\CustomTextField.swift
CustomTextField.swift
Swift
1,836
0.95
0.041096
0.15
awesome-app
910
2025-05-25T12:03:43.218887
BSD-3-Clause
false
15f8860593a169d31d5e1f043efa44d7
//\n// CustomTextView.swift\n// MullvadVPN\n//\n// Created by pronebird on 16/09/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass CustomTextView: UITextView {\n private static let textViewCornerRadius: CGFloat = 4\n\n var roundCorners = true {\n didSet {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\CustomTextView.swift
CustomTextView.swift
Swift
5,196
0.95
0.035294
0.111888
vue-tools
661
2024-03-13T14:45:25.126132
BSD-3-Clause
false
161679fd57a59fb87ac1d6e5b50ca2b9
//\n// CustomToggle.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\n/// Custom (default) toggle style used for switches.\nstruct CustomToggleStyle: ToggleStyle {\n private let width: CGFloat = 48\n private ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\CustomToggleStyle.swift
CustomToggleStyle.swift
Swift
2,288
0.95
0.027778
0.126984
python-kit
887
2024-11-05T11:21:40.762469
Apache-2.0
false
bc50c0d188450fc3c876d03c4ea3f50c
//\n// EmptyTableViewHeaderFooterView.swift\n// MullvadVPN\n//\n// Created by pronebird on 27/05/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass EmptyTableViewHeaderFooterView: UITableViewHeaderFooterView {\n override init(reuseIdentifier: String?) {\n super.in...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\EmptyTableViewHeaderFooterView.swift
EmptyTableViewHeaderFooterView.swift
Swift
588
0.95
0.043478
0.368421
awesome-app
911
2024-01-02T18:48:24.322472
Apache-2.0
false
99e7d31b1272be76fa68df98f79d6177
//\n// InAppPurchaseButton.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/03/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass InAppPurchaseButton: AppButton {\n let activityIndicator = SpinnerActivityIndicatorView(style: .medium)\n\n var ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\InAppPurchaseButton.swift
InAppPurchaseButton.swift
Swift
3,123
0.95
0.066667
0.162162
node-utils
732
2025-06-02T22:57:53.053007
MIT
false
cfcd868d0010bb1ae0be6b44215d6ea1
//\n// IncreasedHitButton.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-05-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\nimport UIKit\n\nfinal class IncreasedHitButton: UIButton {\n private let defaultSize = UIMetrics.Button.minimumTappableAreaSize.width\n\n ove...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\IncreasedHitButton.swift
IncreasedHitButton.swift
Swift
635
0.95
0.045455
0.368421
awesome-app
886
2024-07-16T00:41:14.754151
Apache-2.0
false
e625ba717c69b414c3272647fcdd1457
//\n// InfoHeaderView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-10-01.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\n/// Header view pinned at the top of a ``ViewController``.\nclass InfoHeaderView: UIView, UITextViewDelegate {\n /// ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\InfoHeaderView.swift
InfoHeaderView.swift
Swift
2,557
0.95
0.012195
0.136364
react-lib
771
2025-01-20T02:55:37.384103
Apache-2.0
false
710047d97a5cac793caea99c9fa200c4
//\n// LinkButton.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-12-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// A subclass that implements the button that visually look like URL links on the web\nclass LinkButton: CustomButton {\n override init(frame: C...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\LinkButton.swift
LinkButton.swift
Swift
1,607
0.95
0.086207
0.163265
awesome-app
986
2024-05-21T08:41:14.292808
Apache-2.0
false
5faea231603c8f6d2a2f95bdd55b32ee
//\n// MainButton.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-12-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\nenum MainButtonImagePosition {\n case leading\n case trailing\n}\n\nstruct MainButton: View {\n var text: LocalizedStringKey\n var style...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\MainButton.swift
MainButton.swift
Swift
2,181
0.95
0.068493
0.166667
python-kit
872
2023-08-11T11:54:20.938494
Apache-2.0
false
6ce4d97a21c5c05bb5ebd4ef73594c8c
//\n// MainButtonStyle.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-12-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct MainButtonStyle: ButtonStyle {\n var style: Style\n @Environment(\.isEnabled) private var isEnabled: Bool\n\n init(_ style: S...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\MainButtonStyle.swift
MainButtonStyle.swift
Swift
1,537
0.95
0.015873
0.127273
vue-tools
715
2024-04-21T06:24:49.886728
GPL-3.0
false
f86c4f5af447a9c03515fd1428c88642
//\n// Separator.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct RowSeparator: View {\n var color = Color(.secondaryColor)\n\n var body: some View {\n color\n .frame(height: UIMetri...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\RowSeparator.swift
RowSeparator.swift
Swift
439
0.95
0
0.421053
awesome-app
171
2023-10-04T18:47:16.093285
BSD-3-Clause
false
10d9039e9724154d3bc052b141ac1a56
//\n// SpinnerActivityIndicatorView.swift\n// MullvadVPN\n//\n// Created by pronebird on 15/05/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n@MainActor\nclass SpinnerActivityIndicatorView: UIView {\n private static let rotationAnimationKey = "rotation"\n private static...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\SpinnerActivityIndicatorView.swift
SpinnerActivityIndicatorView.swift
Swift
4,074
0.95
0.033333
0.059322
python-kit
29
2025-06-19T15:35:32.611503
GPL-3.0
false
4a4f605affa3a0c844376f79dc802fee
//\n// SplitMainButton.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-12-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct SplitMainButton: View {\n var text: LocalizedStringKey\n var image: ImageResource\n var style: MainButtonStyle.Style\n var...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\SplitMainButton.swift
SplitMainButton.swift
Swift
1,670
0.95
0
0.142857
node-utils
489
2024-10-02T17:10:44.745493
MIT
false
d53d6554fbbd4e52f3e7acf10f14e46c
//\n// StatusActivityView.swift\n// MullvadVPN\n//\n// Created by Andreas Lif on 2022-08-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass StatusActivityView: UIView {\n enum State {\n case hidden, activity, success, failure\n }\n\n var sta...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\StatusActivityView.swift
StatusActivityView.swift
Swift
2,458
0.95
0.024691
0.101449
react-lib
26
2024-10-06T16:29:54.914717
GPL-3.0
false
cb5ec5821cbba8d12de3b1ca2fdedb93
//\n// StatusImageView.swift\n// MullvadVPN\n//\n// Created by pronebird on 12/02/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass StatusImageView: UIImageView {\n enum Style: Int {\n case success\n case failure\n\n fileprivate var image: UIImage? ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\StatusImageView.swift
StatusImageView.swift
Swift
1,455
0.95
0.044776
0.140351
node-utils
172
2023-12-13T21:05:13.891835
Apache-2.0
false
45a8bd84877a39a99a8f72720b07ad78
//\n// VisualEffectView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-12-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nstruct VisualEffectView: UIViewRepresentable {\n var effect: UIVisualEffect?\n\n func makeUIView(context: UIViewRepresentableContext<S...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Views\VisualEffectView.swift
VisualEffectView.swift
Swift
618
0.95
0
0.368421
node-utils
815
2023-11-23T15:29:00.301663
BSD-3-Clause
false
058b9326b4ae8f653bc093bfa3f13207
//\n// MockCustomListsRepository.swift\n// MullvadVPNTests\n//\n// Created by Jon Petersson on 2024-02-29.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport MullvadTypes\n\nstruct CustomListsRepositoryStub: CustomListRepositoryProtocol {\n let customL...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadSettings\CustomListsRepositoryStub.swift
CustomListsRepositoryStub.swift
Swift
531
0.95
0
0.333333
vue-tools
46
2024-06-02T09:07:28.395413
BSD-3-Clause
true
ed2a9a44747951bc5cd9b2566e0219d9
//\n// InMemorySettingsStore.swift\n// MullvadVPNTests\n//\n// Created by Marco Nikic on 2023-10-17.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nprotocol Instantiable {\n init()\n}\n\nclass InMemorySettingsStore<ThrownError: Error>: SettingsStore,...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadSettings\InMemorySettingsStore.swift
InMemorySettingsStore.swift
Swift
775
0.95
0.064516
0.28
node-utils
969
2024-09-17T01:02:42.708811
Apache-2.0
true
dabe45afbb240459aec2e5a95510ccfe
//\n// IPOverrideRepositoryStub.swift\n// MullvadVPNTests\n//\n// Created by Jon Petersson on 2024-01-31.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\n\nstruct IPOverrideRepositoryStub: IPOverrideRepositoryProtocol {\n let passthroughSubject: CurrentVal...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadSettings\IPOverrideRepositoryStub.swift
IPOverrideRepositoryStub.swift
Swift
893
0.95
0
0.233333
python-kit
855
2024-02-04T16:49:18.313404
MIT
true
890f92fb243759ea1fa7736aab953817
//\n// MockFileCache.swift\n// MullvadVPNTests\n//\n// Created by pronebird on 13/06/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\n/// File cache implementation that simulates file state and uses internal lock to synchronize access to it.\nfinal cla...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadTypes\MockFileCache.swift
MockFileCache.swift
Swift
1,581
0.95
0.042857
0.196429
vue-tools
352
2023-12-11T08:19:49.522325
Apache-2.0
true
6deb9f6b50f07b4e86ac9ed319f14976
//\n// File.swift\n// MullvadVPNTests\n//\n// Created by Mojgan on 2023-10-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\n\nstruct OutgoingConnectionProxyStub: OutgoingConnectionHandling {\n var ipV4: IPV4ConnectionData\n var ipV6: IPV6ConnectionData\n var error: E...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadVPN\GeneralAPIs\OutgoingConnectionProxy+Stub.swift
OutgoingConnectionProxy+Stub.swift
Swift
936
0.95
0.051282
0.212121
node-utils
148
2024-08-14T00:47:27.547581
Apache-2.0
true
74c15653d0e7c83853f745f57bec335d
//\n// URLSessionStub.swift\n// MullvadVPNTests\n//\n// Created by Mojgan on 2023-10-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nclass URLSessionStub: URLSessionProtocol {\n var response: (Data, URLResponse)\n\n init(response: (Data, URLResponse)) {\n self....
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadVPN\Protocols\URLSessionStub.swift
URLSessionStub.swift
Swift
443
0.95
0.095238
0.411765
node-utils
577
2024-05-29T23:35:02.767148
BSD-3-Clause
true
2511c02f11ffc5f7b2e7eb8914774447
//\n// RelayCacheTracker+Stubs.swift\n// MullvadVPNTests\n//\n// Created by Marco Nikic on 2023-10-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadMockData\n@testable import MullvadREST\n@testable import MullvadTypes\n\nstruct RelayCacheTrackerStub: RelayCacheTr...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadVPN\RelayCacheTracker\RelayCacheTracker+Stubs.swift
RelayCacheTracker+Stubs.swift
Swift
922
0.95
0
0.259259
node-utils
700
2025-01-12T07:11:04.285331
GPL-3.0
true
3ce465c5a4c9863edd1d67ba89ceb62b
//\n// MockTunnel.swift\n// MullvadVPNTests\n//\n// Created by Andrew Bulhak on 2024-02-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport NetworkExtension\n\nclass MockTunnel: TunnelProtocol, @unchecked Sendable {\n typealias TunnelManagerProtocol...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadVPN\TunnelManager\MockTunnel.swift
MockTunnel.swift
Swift
1,688
0.95
0.015625
0.170213
node-utils
475
2023-11-24T18:52:51.491147
BSD-3-Clause
true
3d11acb5d692758ce2524d129dda9d22
//\n// MockTunnelInteractor.swift\n// MullvadVPNTests\n//\n// Created by Andrew Bulhak on 2024-02-02.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\n\n// this is still very minimal, and will be fleshed out as neede...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadVPN\TunnelManager\MockTunnelInteractor.swift
MockTunnelInteractor.swift
Swift
2,314
0.95
0.011494
0.123077
vue-tools
934
2025-05-29T20:00:43.192934
Apache-2.0
true
41c3743c53a1b4bfbfbb1d2c320a0d1b
//\n// TunnelStore+Stubs.swift\n// MullvadVPNTests\n//\n// Created by Marco Nikic on 2023-10-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport NetworkExtension\n\nstruct TunnelStoreStub: TunnelStoreProtocol, Sendable {\n typealias TunnelType = Tun...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadVPN\TunnelManager\TunnelStore+Stubs.swift
TunnelStore+Stubs.swift
Swift
2,603
0.95
0.022472
0.104478
python-kit
910
2024-06-14T12:40:07.025261
GPL-3.0
true
399ec47516de8100c8122476667d27f9
//\n// UIApplication+Stubs.swift\n// MullvadVPNTests\n//\n// Created by Marco Nikic on 2023-10-02.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\n@testable import MullvadTypes\n\nstruct UIApplicationStub: BackgroundTaskProviding {\n var backgroundTimeRemaining...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNTests\MullvadVPN\TunnelManager\UIApplication+Stubs.swift
UIApplication+Stubs.swift
Swift
836
0.95
0.028571
0.333333
react-lib
71
2024-11-30T03:29:20.136414
BSD-3-Clause
true
80ce5cdd865d0c96ecccbad9e2a39450
//\n// MullvadApi.swift\n// MullvadVPNUITests\n//\n// Created by Emils on 31/01/2024.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nstruct ApiError: Error {\n let description: String\n let kind: MullvadApiErrorKind\n init(_ result: MullvadApiError) {\n kind = ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\MullvadApi.swift
MullvadApi.swift
Swift
4,385
0.95
0.090909
0.132813
react-lib
160
2024-10-22T16:06:48.212650
BSD-3-Clause
true
006b339c1dc508fc59bb4649d3fc4c58
//\n// XCUIElement+Extensions.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-03-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\nextension XCUIElement {\n func waitForNonExistence(timeout: TimeInterval) -> Bool {\n let predicate = NSPredicate(fo...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\XCUIElement+Extensions.swift
XCUIElement+Extensions.swift
Swift
1,175
0.95
0.075
0.205882
awesome-app
737
2024-05-23T02:29:16.863541
MIT
true
3bdb743399485414f23dbe245ecd4342
//\n// XCUIElementQuery+Extensions.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nextension XCUIElementQuery {\n subscript(key: any RawRepresentable<String>) -> XCUIElement {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\XCUIElementQuery+Extensions.swift
XCUIElementQuery+Extensions.swift
Swift
433
0.95
0
0.411765
vue-tools
675
2025-03-30T01:12:47.259857
Apache-2.0
true
a2362e7c9b4284dbe61e0989db58f82c
//\n// FirewallClient.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport SystemConfiguration\nimport UIKit\nimport XCTest\n\nclass FirewallClient: TestRouterAPIClient {\n // swiftlint:disable for...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Networking\FirewallClient.swift
FirewallClient.swift
Swift
4,255
0.95
0.132743
0.119565
awesome-app
236
2025-03-07T15:48:57.711785
Apache-2.0
true
2d5d037fcdbe83ff673affa5742c23cf
//\n// FirewallRule.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nstruct FirewallRule {\n let fromIPAddress: String\n let toIPAddress: String\n let protocols: [NetworkTranspo...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Networking\FirewallRule.swift
FirewallRule.swift
Swift
2,058
0.95
0.081967
0.230769
react-lib
659
2024-10-03T21:16:10.843862
BSD-3-Clause
true
097326f33b109f197cc61a759799c5a8
//\n// LeakCheck.swift\n// MullvadVPN\n//\n// Created by Niklas Berglund on 2024-12-16.\n// Copyright © 2024 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\nclass LeakCheck {\n static func assertNoLeaks(streams: [Stream], rules: [NoTrafficToHostLeakRule]) {\n XCTAssertFalse(streams.isEmpty, "...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Networking\LeakCheck.swift
LeakCheck.swift
Swift
1,218
0.95
0.097561
0.212121
vue-tools
371
2024-06-04T08:11:26.393866
GPL-3.0
true
4bae065d7f7588ecbde94d3ad272c328
//\n// MullvadAPIWrapper.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport CryptoKit\nimport Foundation\nimport XCTest\n\nenum MullvadAPIError: Error {\n case invalidEndpointFormatError\n case requestError\n}\n...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Networking\MullvadAPIWrapper.swift
MullvadAPIWrapper.swift
Swift
7,143
0.95
0.130208
0.099338
node-utils
272
2023-09-05T04:50:46.065700
MIT
true
331e6577bc6a7aec015bd78eb60ab920
//\n// Networking.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-02-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\nimport XCTest\n\nenum NetworkTransportProtocol: String, Codable {\n case TCP = "tcp"\n case UDP = "udp"\n case ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Networking\Networking.swift
Networking.swift
Swift
10,744
0.95
0.160839
0.075314
react-lib
597
2025-07-02T09:16:39.128936
GPL-3.0
true
ffd4c8c4439643ff839a0f3e1469432b
//\n// PacketCapture.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-04-30.\n// Copyright © 2024 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nstruct PacketCaptureSession {\n var identifier: String\n\n init(identifier: String = UUID().uuidString) {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Networking\PacketCapture.swift
PacketCapture.swift
Swift
11,810
0.95
0.129032
0.091241
python-kit
914
2025-01-06T08:33:28.648863
BSD-3-Clause
true
826dca2d086e586d5b60c9dd8a6f5152
//\n// PartnerAPIClient.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-04-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass PartnerAPIClient {\n let baseURL = URL(string: "https://partner.stagemole.eu/v1/")!\n\n lazy var acce...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Networking\PartnerAPIClient.swift
PartnerAPIClient.swift
Swift
4,315
0.95
0.097561
0.118812
python-kit
914
2025-04-16T02:33:18.705578
BSD-3-Clause
true
1aad5637f7a7f427907b99ec47488b41
//\n// TrafficGenerator.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-06-25.\n// Copyright © 2024 Mullvad VPN AB. All rights reserved.\n//\n\nimport Network\nimport XCTest\n\nclass TrafficGenerator {\n let destinationHost: String\n let port: Int\n var connection: NWConnection\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Networking\TrafficGenerator.swift
TrafficGenerator.swift
Swift
5,946
0.95
0.043243
0.04375
python-kit
328
2024-08-06T15:31:14.614247
MIT
true
2f9c162c2fd3fa0c64903a139e81211b
//\n// AccountDeletionPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-30.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass AccountDeletionPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n sup...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\AccountDeletionPage.swift
AccountDeletionPage.swift
Swift
918
0.95
0.029412
0.25
react-lib
689
2024-06-23T08:09:48.071065
MIT
true
aa5e1a741c2118e722bc40a91d83fba5
//\n// AccountPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-23.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass AccountPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)\n\n...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\AccountPage.swift
AccountPage.swift
Swift
2,786
0.95
0.025316
0.123077
vue-tools
585
2023-08-31T23:38:08.779343
Apache-2.0
true
cde41dce6a8ed9e61d470c8ba83defc5
//\n// AddAccessMethodPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-04-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass AddAccessMethodPage: Page {\n override init(_ app: XCUIApplication) {\n super.init(app)\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\AddAccessMethodPage.swift
AddAccessMethodPage.swift
Swift
2,667
0.95
0.022222
0.092105
python-kit
452
2024-12-25T11:50:56.833570
BSD-3-Clause
true
73b7c35bfcf909dddb05db63343b7bd9
//\n// AddCustomListLocationsPage.swift\n// MullvadVPNUITests\n//\n// Created by Jon Petersson on 2024-06-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\nclass AddCustomListLocationsPage: EditCustomListLocationsPage {\n @discardableResult override func tapBackButton() -> Sel...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\AddCustomListLocationsPage.swift
AddCustomListLocationsPage.swift
Swift
411
0.95
0.0625
0.5
node-utils
188
2025-01-10T19:54:12.230680
MIT
true
ee1c0236c637f2c9b289b48d5279249e
//\n// Alert.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\n/// Generic alert "page"\nclass Alert: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\Alert.swift
Alert.swift
Swift
564
0.95
0.04
0.380952
awesome-app
957
2024-03-11T22:13:02.893750
GPL-3.0
true
6ee75e511aa1ee7e67b8f74ca568ad9a
//\n// APIAccessPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-04-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass APIAccessPage: Page {\n override init(_ app: XCUIApplication) {\n super.init(app)\n self.page...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\APIAccessPage.swift
APIAccessPage.swift
Swift
892
0.95
0.03125
0.259259
react-lib
727
2024-07-17T18:53:38.266588
GPL-3.0
true
000017c239d3b4806e3e41375a18d1b5
//\n// AppLogsPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-04-26.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\nclass AppLogsPage: Page {\n override init(_ app: XCUIApplication) {\n super.init(app)\n self.pageElement = app.otherElem...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\AppLogsPage.swift
AppLogsPage.swift
Swift
879
0.95
0.027778
0.233333
react-lib
179
2024-01-29T13:41:07.277832
MIT
true
1413360432e9d4c006559e8cc47b1ff8
//\n// ChangeLogAlert.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-02-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass ChangeLogAlert: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(ap...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\ChangeLogAlert.swift
ChangeLogAlert.swift
Swift
553
0.95
0.041667
0.35
node-utils
119
2023-12-10T16:48:53.577045
Apache-2.0
true
0e22dcd5c84ecfc838c2efa74655848d
//\n// CustomListPage.swift\n// MullvadVPNUITests\n//\n// Created by Marco Nikic on 2024-04-17.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\nclass CustomListPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)\n\n self.page...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\CustomListPage.swift
CustomListPage.swift
Swift
2,169
0.95
0.047619
0.240741
python-kit
888
2025-05-08T05:00:37.818361
Apache-2.0
true
184fb6e5df77b07ff5b093dcef87909b
//\n// DAITAPage.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\nclass DAITAPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)\n\n self.pageElement = app.o...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\DAITAPage.swift
DAITAPage.swift
Swift
3,228
0.95
0.07619
0.095238
node-utils
696
2025-05-25T02:47:31.463643
BSD-3-Clause
true
2197c66ecd4dafd0697d1c52c1c03ced
//\n// DaitaPromptAlert.swift\n// MullvadVPNUITests\n//\n// Created by Mojgan on 2024-08-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\nimport Foundation\nimport XCTest\n\nclass DaitaPromptAlert: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)\n\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\DaitaPromptAlert.swift
DaitaPromptAlert.swift
Swift
727
0.95
0.035714
0.291667
vue-tools
647
2024-05-18T14:40:43.456165
GPL-3.0
true
75e1f59624f6f7f1cb5dcd8bf29ad812
//\n// DeviceManagementPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-03-27.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\n/// Page class for the "too many devices" page shown when logging on to an account with too many devices\nclass DeviceManagement...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\DeviceManagementPage.swift
DeviceManagementPage.swift
Swift
1,465
0.95
0.083333
0.225
vue-tools
556
2024-03-09T13:15:13.788899
MIT
true
08b08acb91b6e0aa69b238abdcd84153
//\n// DNSSettingsPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-03-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass DNSSettingsPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\DNSSettingsPage.swift
DNSSettingsPage.swift
Swift
5,658
0.95
0.028409
0.066176
vue-tools
788
2024-06-14T09:56:20.486970
BSD-3-Clause
true
6e2f7cffefa0a750a83df3570c1581bf
//\n// EditAccessMethodPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-04-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass EditAccessMethodPage: Page {\n enum TestStatus {\n case reachable, unreachable, testing\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\EditAccessMethodPage.swift
EditAccessMethodPage.swift
Swift
2,051
0.95
0.080645
0.156863
awesome-app
121
2023-08-21T00:11:33.552271
MIT
true
50cc847bf4b78e12535e1d40370caf87
//\n// EditCustomListLocationsPage.swift\n// MullvadVPNUITests\n//\n// Created by Marco Nikic on 2024-04-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\nclass EditCustomListLocationsPage: Page {\n enum Action {\n case add, edit\n }\n\n @discardableResult overrid...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\EditCustomListLocationsPage.swift
EditCustomListLocationsPage.swift
Swift
1,842
0.95
0.052632
0.145833
python-kit
473
2024-01-22T00:33:17.581989
MIT
true
8c668495c027bc761d2fd3cae5a2313a
//\n// HeaderBar.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-23.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass HeaderBar: Page {\n lazy var accountButton = app.buttons[AccessibilityIdentifier.accountButton]\n lazy var s...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\HeaderBar.swift
HeaderBar.swift
Swift
1,106
0.95
0.02439
0.212121
python-kit
506
2023-12-07T01:10:52.037978
Apache-2.0
true
8ee6d6242fe0f31fd2976f3b412217cf
//\n// ListCustomListsPage.swift\n// MullvadVPNUITests\n//\n// Created by Marco Nikic on 2024-04-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\nclass ListCustomListsPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)\n\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\ListCustomListsPage.swift
ListCustomListsPage.swift
Swift
1,043
0.95
0.060606
0.428571
python-kit
639
2024-04-21T23:34:31.962243
GPL-3.0
true
cbb5b2b33190f6e4028f204be3cc5c30
//\n// LoginPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass LoginPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)\n\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\LoginPage.swift
LoginPage.swift
Swift
3,041
0.95
0.064103
0.153846
node-utils
760
2024-01-30T23:59:36.403129
Apache-2.0
true
96fe8a462b15095779e63f003f03e93d
//\n// MultihopPage.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport XCTest\n\nclass MultihopPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)\n\n self.pageElement =...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\MultihopPage.swift
MultihopPage.swift
Swift
1,229
0.95
0.069767
0.228571
react-lib
923
2024-07-28T03:00:39.636034
BSD-3-Clause
true
80fa7640a24a630711da10021464f1c7
//\n// OutOfTimePage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-02-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass OutOfTimePage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\OutOfTimePage.swift
OutOfTimePage.swift
Swift
410
0.95
0.052632
0.4375
node-utils
264
2025-05-18T02:34:03.646696
MIT
true
6d0cf0881b0ce0b3269f013fba5529db
//\n// Page.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass Page {\n let app: XCUIApplication\n\n /// Element in the page used to verify that the page is currently being sho...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\Page.swift
Page.swift
Swift
1,646
0.95
0.035088
0.212766
python-kit
398
2024-12-11T11:03:51.440652
MIT
true
c094548b2907d3e42f8d4a5e75573bb5
//\n// ProblemReportPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-26.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass ProblemReportPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.i...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\ProblemReportPage.swift
ProblemReportPage.swift
Swift
1,135
0.95
0.021277
0.194444
react-lib
728
2025-02-28T15:38:22.641104
BSD-3-Clause
true
59bfdd07b511b326727111f014cacc34
//\n// ProblemReportSubmittedPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-02-26.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass ProblemReportSubmittedPage: Page {\n @discardableResult override init(_ app: XCUIApplication) ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\ProblemReportSubmittedPage.swift
ProblemReportSubmittedPage.swift
Swift
449
0.95
0.052632
0.4375
awesome-app
453
2024-02-09T11:15:28.776907
Apache-2.0
true
57a463f1d3ccce6b36cd41b0df77f2d3
//\n// RevokedDevicePage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-03-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass RevokedDevicePage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.i...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\RevokedDevicePage.swift
RevokedDevicePage.swift
Swift
592
0.95
0.038462
0.333333
python-kit
730
2025-03-29T05:55:45.463934
MIT
true
57b957bfe608e6c0483b34d2338af9c9
//\n// SelectLocationFilterPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-04-17.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass SelectLocationFilterPage: Page {\n override init(_ app: XCUIApplication) {\n super.init(a...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\SelectLocationFilterPage.swift
SelectLocationFilterPage.swift
Swift
1,435
0.95
0.020833
0.175
awesome-app
925
2025-07-02T15:16:28.031121
MIT
true
6915aa8e19aa04498644878af3bd6563
//\n// SelectLocationPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-11.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass SelectLocationPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\SelectLocationPage.swift
SelectLocationPage.swift
Swift
5,152
0.95
0.022901
0.095238
python-kit
945
2025-05-14T20:45:55.144522
GPL-3.0
true
eb2bcf9b60e3fbd707b680a845d10da9
//\n// SettingsPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-12.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass SettingsPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)\n...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\SettingsPage.swift
SettingsPage.swift
Swift
2,830
0.95
0.009434
0.088608
python-kit
699
2023-12-03T09:00:11.415139
BSD-3-Clause
true
206826eef4366ff9d55afa9fa926cf47
//\n// ShadowsocksObfuscationSettingsPage.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-12-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass ShadowsocksObfuscationSettingsPage: Page {\n @discardableResult override init(_ app: XCUIApplic...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\ShadowsocksObfuscationSettingsPage.swift
ShadowsocksObfuscationSettingsPage.swift
Swift
1,456
0.95
0.037037
0.204545
python-kit
162
2024-04-06T07:50:17.423127
MIT
true
0a4b33c866f26e9f950d7be6511c0a7c
//\n// TermsOfServicePage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass TermsOfServicePage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\TermsOfServicePage.swift
TermsOfServicePage.swift
Swift
570
0.95
0.041667
0.35
node-utils
802
2024-08-24T16:09:30.264647
BSD-3-Clause
true
883172a91e9178fd8efb409f3afffcac