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// AccountDeletionViewModel.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-07-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nstruct AccountDeletionViewModel {\n let accountNumber: String\n}\n | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\AccountDeletion\AccountDeletionViewModel.swift | AccountDeletionViewModel.swift | Swift | 241 | 0.95 | 0 | 0.636364 | awesome-app | 438 | 2024-03-25T18:46:05.806361 | BSD-3-Clause | false | 8f5c1547c210a2c4edf56651f7f33999 |
//\n// AlertPresentation.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-08-23.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Routing\n\nstruct AlertMetadata {\n let presentation: AlertPresentation\n let context: Presenting\n}\n\nstruct AlertAction {\... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Alert\AlertPresentation.swift | AlertPresentation.swift | Swift | 1,076 | 0.95 | 0 | 0.175 | vue-tools | 341 | 2025-04-07T02:47:58.719017 | MIT | false | 2cafdd86dd06444cd135bb94f7fe0838 |
//\n// AlertPresenter.swift\n// MullvadVPN\n//\n// Created by pronebird on 04/06/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\n\n@MainActor\nstruct AlertPresenter {\n weak var context: (any Presenting)?\n\n func showAlert(presentation: AlertPresentation, animated: Bool... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Alert\AlertPresenter.swift | AlertPresenter.swift | Swift | 933 | 0.95 | 0 | 0.25 | awesome-app | 498 | 2025-06-11T17:49:51.987100 | GPL-3.0 | false | 9718f61bfdf086cff6f9791988cf65da |
//\n// AlertViewController.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-05-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nenum AlertActionStyle {\n case `default`\n case destructive\n\n fileprivate var buttonStyle: AppButton.Style {\n switch sel... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Alert\AlertViewController.swift | AlertViewController.swift | Swift | 10,599 | 0.95 | 0.044025 | 0.04 | python-kit | 751 | 2024-10-04T12:56:49.398931 | Apache-2.0 | false | 08c15d743d31cc01056fe7cc4f93d941 |
//\n// BulletPointText.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2025-01-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\nimport SwiftUI\n\nstruct BulletPointText: View {\n let text: String\n let bullet = "•"\n\n var body: some View {\n HStack(alignment: .firstTextBaseline)... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ChangeLog\BulletPointText.swift | BulletPointText.swift | Swift | 709 | 0.95 | 0 | 0.28 | python-kit | 30 | 2024-01-24T10:15:32.692597 | GPL-3.0 | false | a93908624178fe52f8bbd27b30ade31a |
//\n// ChangeLogModel.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2025-01-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nstruct ChangeLogModel {\n let title: String\n let changes: [String]\n}\n | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ChangeLog\ChangeLogModel.swift | ChangeLogModel.swift | Swift | 220 | 0.8 | 0 | 0.636364 | python-kit | 597 | 2023-09-26T16:24:04.697826 | MIT | false | 043ed29e8b83d0ed93ce55a49f51100b |
//\n// ChangeLogReader.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2025-01-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\nimport Foundation\n\nprotocol ChangeLogReaderProtocol {\n func read() throws -> [String]\n}\n\nstruct ChangeLogReader: ChangeLogReaderProtocol {\n /**\n Reads... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ChangeLog\ChangeLogReader.swift | ChangeLogReader.swift | Swift | 1,051 | 0.95 | 0.078947 | 0.323529 | vue-tools | 794 | 2025-05-05T06:26:24.367548 | BSD-3-Clause | false | f2c63547b5b68693eccabcee9ef438f3 |
//\n// ChangeLogView.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2025-01-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\nimport SwiftUI\n\nstruct ChangeLogView<ViewModel>: View where ViewModel: ChangeLogViewModelProtocol {\n @ObservedObject var viewModel: ViewModel\n\n init(viewModel:... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ChangeLog\ChangeLogView.swift | ChangeLogView.swift | Swift | 1,366 | 0.95 | 0 | 0.190476 | react-lib | 329 | 2025-07-01T15:24:55.180542 | BSD-3-Clause | false | f4145f5cfdcd8bbe3a878ff88b9fb950 |
//\n// ChangeLogViewModel.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-08-22.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport SwiftUI\n\nprotocol ChangeLogViewModelProtocol: ObservableObject {\n var changeLog: ChangeLogModel? { get }\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ChangeLog\ChangeLogViewModel.swift | ChangeLogViewModel.swift | Swift | 1,319 | 0.95 | 0.133333 | 0.184211 | react-lib | 922 | 2024-03-05T21:57:14.119831 | BSD-3-Clause | false | b4669b2aec82ec6c25edf71648fe4233 |
//\n// InAppPurchaseInteractor.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-07-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport StoreKit\n\nprotocol InAppPurchaseViewControllerDelegate: AnyObject {\n func didBeginPayment()\n func didEndPayment()\n}\n\ncl... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\CreationAccount\InAppPurchaseInteractor.swift | InAppPurchaseInteractor.swift | Swift | 1,384 | 0.95 | 0.043478 | 0.189189 | vue-tools | 881 | 2023-10-12T07:03:41.111531 | BSD-3-Clause | false | d7cca5852856027010592daa05027246 |
//\n// SetupAccountCompletedContentView.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-06-30.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nprotocol SetupAccountCompletedContentViewDelegate: AnyObject {\n func didTapPrivacyButton(view: SetupAccountCompletedContentView, ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\CreationAccount\Completed\SetupAccountCompletedContentView.swift | SetupAccountCompletedContentView.swift | Swift | 5,159 | 0.95 | 0.039474 | 0.054264 | vue-tools | 201 | 2024-01-21T14:45:39.728102 | Apache-2.0 | false | fafba714a44016714bcff23125edc9a0 |
//\n// SetupAccountCompletedController.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-06-30.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nprotocol SetupAccountCompletedControllerDelegate: AnyObject, Sendable {\n func didRequestToSeePrivacy(controller: SetupAccountCompl... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\CreationAccount\Completed\SetupAccountCompletedController.swift | SetupAccountCompletedController.swift | Swift | 1,690 | 0.95 | 0.017241 | 0.148936 | node-utils | 365 | 2024-06-25T23:15:05.965539 | BSD-3-Clause | false | fa08b76a169313db7a8843598709c6b7 |
//\n// WelcomeContentView.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-06-27.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nprotocol WelcomeContentViewDelegate: AnyObject, Sendable {\n func didTapPurchaseButton(welcomeContentView: WelcomeContentView, button: AppButton... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\CreationAccount\Welcome\WelcomeContentView.swift | WelcomeContentView.swift | Swift | 9,811 | 0.95 | 0.052817 | 0.028689 | python-kit | 792 | 2024-08-12T14:16:11.265711 | Apache-2.0 | false | 4a3079976627fee19f81272c29c9d8e8 |
//\n// WelcomeInteractor.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-06-29.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadTypes\nimport StoreKit\n\nfinal class WelcomeInteractor: @unchecked Sendable {\n private let tunnelManage... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\CreationAccount\Welcome\WelcomeInteractor.swift | WelcomeInteractor.swift | Swift | 2,817 | 0.95 | 0.030928 | 0.1 | awesome-app | 36 | 2023-10-31T20:00:15.931634 | BSD-3-Clause | false | 89b3056db8318572dc9f89887be34677 |
//\n// WelcomeViewController.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-06-28.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport StoreKit\nimport UIKit\n\nprotocol WelcomeViewControllerDelegate: AnyObject {\n func didRequestToShowInfo(controller: WelcomeViewController)\n func... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\CreationAccount\Welcome\WelcomeViewController.swift | WelcomeViewController.swift | Swift | 2,445 | 0.95 | 0.011111 | 0.097222 | node-utils | 432 | 2025-03-04T16:50:05.848697 | GPL-3.0 | false | f3e93efa3500eb8629da32ad96c9de1d |
//\n// DeviceManagementContentView.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/07/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass DeviceManagementContentView: UIView {\n private let scrollView: UIScrollView = {\n let scrollView = UIScrollView()\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\DeviceList\DeviceManagementContentView.swift | DeviceManagementContentView.swift | Swift | 11,055 | 0.95 | 0.031348 | 0.029197 | vue-tools | 897 | 2024-10-08T22:58:12.858498 | GPL-3.0 | false | 31260464bccd95f8b0f224d07944435e |
//\n// DeviceManagementInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/07/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\nimport Operations\n\nclass DeviceManagementInteractor: @unchecked Sendable {\n private le... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\DeviceList\DeviceManagementInteractor.swift | DeviceManagementInteractor.swift | Swift | 1,225 | 0.95 | 0.022727 | 0.179487 | python-kit | 915 | 2023-12-11T18:36:31.267120 | BSD-3-Clause | false | 9fe2e2b22aba327ce98d585bae537bb5 |
//\n// DeviceManagementViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 15/07/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n@preconcurrency import MullvadLogging\nimport MullvadREST\nimport MullvadTypes\nimport Operations\nimport UIKit\n\nprotocol DeviceManagementViewCont... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\DeviceList\DeviceManagementViewController.swift | DeviceManagementViewController.swift | Swift | 9,216 | 0.95 | 0.027972 | 0.037037 | vue-tools | 86 | 2025-03-19T08:42:07.345175 | BSD-3-Clause | false | 92d8da2b47df38d3d54c328d6d12ce5a |
//\n// DeviceRowView.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/07/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass DeviceRowView: UIView {\n let viewModel: DeviceViewModel\n var deleteHandler: ((DeviceRowView) -> Void)?\n\n let textLabel: UILabel = ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\DeviceList\DeviceRowView.swift | DeviceRowView.swift | Swift | 4,765 | 0.95 | 0.044444 | 0.070796 | python-kit | 342 | 2024-08-27T02:42:10.929197 | MIT | false | e321c9e7468e2b32559e99963f90f7ba |
//\n// SheetViewController.swift\n// MullvadVPN\n//\n// Created by Steffen Ernst on 2025-01-29.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport StoreKit\nimport UIKit\n\nclass InAppPurchaseViewController: UIViewController, StorePaymentObserver {\n private let storePaymentManager: StorePay... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\InAppPurchase\InAppPurchaseViewController.swift | InAppPurchaseViewController.swift | Swift | 6,256 | 0.95 | 0.060976 | 0.046053 | python-kit | 72 | 2023-10-27T07:09:44.394189 | Apache-2.0 | false | 39aa557736967844df3d39fecafc083c |
//\n// LaunchViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 18/11/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass LaunchViewController: UIViewController {\n override var preferredStatusBarStyle: UIStatusBarStyle {\n .lightContent\n }\n\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Launch\LaunchViewController.swift | LaunchViewController.swift | Swift | 1,271 | 0.95 | 0.025 | 0.225806 | node-utils | 176 | 2024-02-12T00:15:35.579356 | MIT | false | 11475349cc7644f699963c2bf598da98 |
//\n// AccountInputGroupView.swift\n// MullvadVPN\n//\n// Created by pronebird on 22/03/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\nimport UIKit\n\nprivate let animationDuration: Duration = .milliseconds(250)\n\nfinal class AccountInputGroupView: UIView {\n private... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Login\AccountInputGroupView.swift | AccountInputGroupView.swift | Swift | 19,185 | 0.95 | 0.046099 | 0.041304 | react-lib | 371 | 2024-02-06T19:02:32.127587 | Apache-2.0 | false | 2398edfd0ab9e611aeab5300ed650f67 |
//\n// AccountTextField.swift\n// MullvadVPN\n//\n// Created by pronebird on 20/03/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass AccountTextField: CustomTextField, UITextFieldDelegate {\n enum GroupingStyle: Int {\n case full\n case lastPart\n\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Login\AccountTextField.swift | AccountTextField.swift | Swift | 3,645 | 0.95 | 0.041096 | 0.090909 | awesome-app | 500 | 2025-03-20T18:20:43.915931 | GPL-3.0 | false | 1d77a010ff0403cf7986bbdc8f311f99 |
//\n// LoginContentView.swift\n// MullvadVPN\n//\n// Created by pronebird on 22/03/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass LoginContentView: UIView {\n private var keyboardResponder: AutomaticKeyboardResponder?\n\n let titleLabel: UILabel = {\n let t... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Login\LoginContentView.swift | LoginContentView.swift | Swift | 7,006 | 0.95 | 0.011111 | 0.047297 | node-utils | 460 | 2024-12-10T06:21:20.892366 | BSD-3-Clause | false | cca95bfd080038fab404d0a58d274d04 |
//\n// LoginInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 27/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n@preconcurrency import MullvadLogging\nimport MullvadSettings\n\nfinal class LoginInteractor: @unchecked Sendable {\n private let tunnelManag... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Login\LoginInteractor.swift | LoginInteractor.swift | Swift | 1,577 | 0.95 | 0.122807 | 0.142857 | vue-tools | 672 | 2025-03-18T03:18:29.640930 | Apache-2.0 | false | ed2381b5a80e0c4a15c11724ddffb94c |
//\n// LoginViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/03/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadLogging\nimport MullvadTypes\nimport Operations\nimport UIKit\n\nenum LoginState {\n case `default`\n case authenticating(LoginAction)\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Login\LoginViewController.swift | LoginViewController.swift | Swift | 12,128 | 0.95 | 0.04038 | 0.06087 | node-utils | 501 | 2024-11-03T09:28:29.183483 | Apache-2.0 | false | 1180805f8b96b6ce4357a63e747c0dd8 |
//\n// OutOfTimeContentView.swift\n// MullvadVPN\n//\n// Created by Andreas Lif on 2022-07-26.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass OutOfTimeContentView: UIView {\n let statusActivityView: StatusActivityView = {\n let statusActivityView ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\OutOfTime\OutOfTimeContentView.swift | OutOfTimeContentView.swift | Swift | 4,911 | 0.95 | 0.026144 | 0.059259 | python-kit | 719 | 2023-08-01T17:18:49.877082 | GPL-3.0 | false | bb01dc7ea8378c2c5aa7b5fcec7fb873 |
//\n// OutOfTimeInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Operations\n@preconcurrency import StoreKit\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\OutOfTime\OutOfTimeInteractor.swift | OutOfTimeInteractor.swift | Swift | 2,625 | 0.95 | 0.022222 | 0.097222 | python-kit | 207 | 2024-12-17T00:09:24.638617 | GPL-3.0 | false | 68687b142ec52ee695eb06e08b22aafd |
//\n// OutOfTimeViewController.swift\n// MullvadVPN\n//\n// Created by Andreas Lif on 2022-07-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport Operations\n@preconcurrency import StoreKit\nimport UIKit\n\nprotocol OutOfTimeViewControllerDelegate: AnyO... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\OutOfTime\OutOfTimeViewController.swift | OutOfTimeViewController.swift | Swift | 4,883 | 0.95 | 0.030675 | 0.065693 | python-kit | 384 | 2025-06-24T06:18:23.239454 | Apache-2.0 | false | bef80442c43e823f48a1406806dd132e |
//\n// ProblemReportInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 25/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\nimport Operations\n\nfinal class ProblemReportInteractor: @unchecked Sendable {\n private le... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ProblemReport\ProblemReportInteractor.swift | ProblemReportInteractor.swift | Swift | 2,949 | 0.95 | 0.033708 | 0.0875 | node-utils | 115 | 2025-02-07T14:23:22.941003 | Apache-2.0 | false | d88602be0d076647b0ffaa68378c3482 |
//\n// ProblemReportReviewViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 10/02/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass ProblemReportReviewViewController: UIViewController {\n private let spinnerView = SpinnerActivityIndicatorView(style: .l... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ProblemReport\ProblemReportReviewViewController.swift | ProblemReportReviewViewController.swift | Swift | 4,187 | 0.95 | 0.024 | 0.122642 | node-utils | 276 | 2024-12-14T22:44:55.368550 | MIT | false | 8368da42c60e1c76e65675dea891f833 |
//\n// ProblemReportSubmissionOverlayView.swift\n// MullvadVPN\n//\n// Created by pronebird on 12/02/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport UIKit\n\nclass ProblemReportSubmissionOverlayView: UIView {\n var editButtonAction: (() -> Void... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ProblemReport\ProblemReportSubmissionOverlayView.swift | ProblemReportSubmissionOverlayView.swift | Swift | 9,208 | 0.95 | 0.045283 | 0.039474 | vue-tools | 952 | 2023-09-23T18:06:46.529258 | Apache-2.0 | false | a1a47af84f32ce7042169a81e6f77e18 |
//\n// ProblemReportViewController+ViewManagement.swift\n// MullvadVPN\n//\n// Created by Marco Nikic on 2024-02-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nextension ProblemReportViewController {\n func makeScrollView() -> UIScrollView {\n let s... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ProblemReport\ProblemReportViewController+ViewManagement.swift | ProblemReportViewController+ViewManagement.swift | Swift | 12,890 | 0.95 | 0.015385 | 0.099237 | python-kit | 382 | 2024-07-12T23:09:53.525998 | MIT | false | cef24566cff248864a3ac2fe4326d545 |
//\n// ProblemReportViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 15/09/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadTypes\nimport Operations\nimport UIKit\n\nfinal class ProblemReportViewController: UIViewController, UITextFieldDeleg... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ProblemReport\ProblemReportViewController.swift | ProblemReportViewController.swift | Swift | 10,194 | 0.95 | 0.029508 | 0.122951 | react-lib | 985 | 2025-02-15T07:04:21.621406 | GPL-3.0 | false | c0a9d854f8c493ab6e7fc9f1e32b8ee3 |
//\n// ProblemReportViewModel.swift\n// MullvadVPN\n//\n// Created by Marco Nikic on 2024-02-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nstruct ProblemReportViewModel {\n let email: String\n let message: String\n\n let navigationTitle = NSLocalizedString(\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\ProblemReport\ProblemReportViewModel.swift | ProblemReportViewModel.swift | Swift | 2,732 | 0.95 | 0.009901 | 0.08046 | react-lib | 10 | 2023-11-23T16:20:41.783295 | Apache-2.0 | false | 9e8a345cb081072ba901f57076ad3f30 |
//\n// AddCreditSucceededViewController.swift\n// MullvadVPN\n//\n// Created by Sajad Vishkai on 2022-09-23.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nprotocol AddCreditSucceededViewControllerDelegate: AnyObject {\n func header(in controller: AddCreditSucceededViewControlle... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RedeemVoucher\AddCreditSucceededViewController.swift | AddCreditSucceededViewController.swift | Swift | 4,732 | 0.95 | 0.020408 | 0.058333 | awesome-app | 545 | 2023-12-30T23:02:52.585263 | MIT | false | 4c61b0e598f9f576ee5ed3278d58648b |
//\n// LogoutDialogueView.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-08-29.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass LogoutDialogueView: UIView {\n private let containerView: UIView = {\n let view = UIView()\n view.backgroundColor = .seconda... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RedeemVoucher\LogoutDialogueView.swift | LogoutDialogueView.swift | Swift | 4,633 | 0.95 | 0.026144 | 0.05303 | react-lib | 206 | 2024-01-24T07:08:21.691281 | MIT | false | 44b029f9d901d3d9a2be313abe3918f7 |
//\n// RedeemVoucherContentView.swift\n// MullvadVPN\n//\n// Created by Andreas Lif on 2022-08-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport UIKit\n\nenum RedeemVoucherState {\n case initial\n case success\n case verifying\n case failure(Error)\n case... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RedeemVoucher\RedeemVoucherContentView.swift | RedeemVoucherContentView.swift | Swift | 12,182 | 0.95 | 0.054404 | 0.026471 | python-kit | 68 | 2024-07-13T10:06:48.762106 | MIT | false | a1fa393a29a2f8891deb122987372f44 |
//\n// RedeemVoucherInteractor.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-08-30.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\n\nfinal class RedeemVoucherInteractor: @unchecked Sendable {\n private let tunnelManager: Tunne... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RedeemVoucher\RedeemVoucherInteractor.swift | RedeemVoucherInteractor.swift | Swift | 2,242 | 0.95 | 0.0125 | 0.101449 | react-lib | 61 | 2024-01-08T06:53:49.557630 | MIT | false | efa85d3bab9a7d0b22e3f3cb83d76d0e |
//\n// RedeemVoucherViewConfiguration.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-09-12.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nstruct RedeemVoucherViewConfiguration {\n let adjustViewWhenKeyboardAppears: Bool\n /// Hides the title when s... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RedeemVoucher\RedeemVoucherViewConfiguration.swift | RedeemVoucherViewConfiguration.swift | Swift | 461 | 0.95 | 0.055556 | 0.5625 | react-lib | 660 | 2023-11-21T09:50:56.178785 | Apache-2.0 | false | 1c2f1276a85b4f2829c95abd8a2c529f |
//\n// RedeemVoucherViewController.swift\n// MullvadVPN\n//\n// Created by Andreas Lif on 2022-08-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadTypes\nimport UIKit\n\nprotocol RedeemVoucherViewControllerDelegate: AnyObject, Sendable {\n func redeemVoucherD... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RedeemVoucher\RedeemVoucherViewController.swift | RedeemVoucherViewController.swift | Swift | 4,159 | 0.95 | 0.013514 | 0.09322 | react-lib | 612 | 2023-12-06T16:09:13.127308 | MIT | false | 67441610f11f16b6b98847c03443bd73 |
//\n// VoucherTextField.swift\n// MullvadVPN\n//\n// Created by Andreas Lif on 2022-08-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass VoucherTextField: CustomTextField, UITextFieldDelegate {\n private let inputFormatter = InputTextFormatter(configura... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RedeemVoucher\VoucherTextField.swift | VoucherTextField.swift | Swift | 1,867 | 0.95 | 0.029412 | 0.140351 | vue-tools | 939 | 2024-07-22T02:09:13.286202 | BSD-3-Clause | false | cafc17b1884aa4b22c12061f403fa9a2 |
//\n// ChipCollectionView.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-10-31.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass ChipCollectionView: UIView {\n private var chips: [ChipConfiguration] = []\n private let cellReuseIdentifier = Strin... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\ChipCollectionView.swift | ChipCollectionView.swift | Swift | 1,865 | 0.95 | 0.032787 | 0.134615 | vue-tools | 771 | 2024-04-07T07:32:37.567463 | GPL-3.0 | false | 7cf0af7ecc52078474493bb8d686ce5f |
//\n// ChipFlowLayout.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-10-31.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass ChipFlowLayout: UICollectionViewCompositionalLayout {\n init() {\n super.init { _, _ -> NSCollectionLayoutSection? in\n // C... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\ChipFlowLayout.swift | ChipFlowLayout.swift | Swift | 1,658 | 0.95 | 0.022222 | 0.25641 | node-utils | 10 | 2024-06-05T22:58:57.986592 | MIT | false | 91fa9ce78a3f5314f781c3f1db9f4542 |
//\n// ChipViewCell.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass ChipViewCell: UIView, UIContentView {\n var configuration: UIContentConfiguration {\n didSet {\n set(configuration: con... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\ChipViewCell.swift | ChipViewCell.swift | Swift | 4,486 | 0.95 | 0.05303 | 0.070175 | vue-tools | 788 | 2025-06-28T15:06:38.168995 | GPL-3.0 | false | 2dc879d5c28f50e295f645794633cd69 |
//\n// FilterDescriptor.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2025-02-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\nimport MullvadREST\nimport MullvadSettings\n\nstruct FilterDescriptor {\n let relayFilterResult: RelayCandidates\n let settings: LatestTunnelSettings\n\n var ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\FilterDescriptor.swift | FilterDescriptor.swift | Swift | 2,801 | 0.95 | 0.0875 | 0.183099 | vue-tools | 261 | 2025-01-28T12:47:56.402664 | GPL-3.0 | false | a4c904da55d4bb9e58760564446f9571 |
//\n// RelayFilterCellFactory.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-02.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n@MainActor\nstruct RelayFilterCellFactory: @preconcurrency CellFactoryProtocol {\n let tableView: UITableView\n\n func makeCell(fo... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\RelayFilterCellFactory.swift | RelayFilterCellFactory.swift | Swift | 3,055 | 0.95 | 0.054348 | 0.089744 | node-utils | 512 | 2024-01-13T16:03:23.784106 | Apache-2.0 | false | ba168805b7e6302651632bda4737d9cb |
//\n// RelayFilterDataSource.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-02.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadREST\nimport MullvadTypes\nimport UIKit\nfinal class RelayFilterDataSource: UITableViewDiffableDataSource<\n RelayFilter... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\RelayFilterDataSource.swift | RelayFilterDataSource.swift | Swift | 10,839 | 0.95 | 0.112179 | 0.034091 | python-kit | 340 | 2024-11-10T09:01:03.168547 | MIT | false | 3489f5dc0a2299e4b319d2eba5b8fadd |
//\n// RelayFilterDataSourceItem.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2025-03-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nstruct RelayFilterDataSourceItem: Hashable, Comparable {\n let name: String\n var description = ""\n let type: ItemType\n l... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\RelayFilterDataSourceItem.swift | RelayFilterDataSourceItem.swift | Swift | 1,849 | 0.95 | 0 | 0.145833 | react-lib | 587 | 2025-01-24T18:05:34.229480 | MIT | false | b2b9bc65e3273001f4834e22cc166cde |
//\n// RelayFilterAppliedView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\nimport UIKit\n\nclass RelayFilterView: UIView {\n enum Filter {\n case ownership\n case providers\n }\n\n pr... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\RelayFilterView.swift | RelayFilterView.swift | Swift | 6,276 | 0.95 | 0.069307 | 0.063953 | react-lib | 916 | 2024-03-22T09:02:24.697365 | Apache-2.0 | false | e96ab2be779b7cc9e507ac617e94dfbd |
//\n// RelayFilterViewController.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-02.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport UIKit\n\nclass RelayFilterViewController: UIViewController {\... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\RelayFilterViewController.swift | RelayFilterViewController.swift | Swift | 4,961 | 0.95 | 0.040816 | 0.055556 | react-lib | 832 | 2024-04-23T13:33:00.843022 | MIT | false | d5f0eb1a6716ea6269667e08e3b21ebb |
//\n// RelayFilterViewModel.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\n\nfinal class RelayFilterViewModel {\n @Published var relayFilter: Rel... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RelayFilter\RelayFilterViewModel.swift | RelayFilterViewModel.swift | Swift | 7,208 | 0.95 | 0.142105 | 0.127273 | python-kit | 407 | 2023-07-15T07:07:04.721301 | BSD-3-Clause | false | ce7b02b359e90f880e8a7c9a1b2bd89a |
//\n// RevokedDeviceInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nfinal class RevokedDeviceInteractor {\n private let tunnelManager: TunnelManager\n private var tunnelObserver: TunnelObserver?\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RevokedDevice\RevokedDeviceInteractor.swift | RevokedDeviceInteractor.swift | Swift | 827 | 0.95 | 0.030303 | 0.28 | node-utils | 103 | 2023-09-22T20:12:53.078848 | BSD-3-Clause | false | 9f41b71e3cf743dea6b8aa4db37e959e |
//\n// RevokedDeviceViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 07/07/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass RevokedDeviceViewController: UIViewController, RootContainment {\n private lazy var imageView: StatusImageView = {\n le... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\RevokedDevice\RevokedDeviceViewController.swift | RevokedDeviceViewController.swift | Swift | 6,200 | 0.95 | 0.022472 | 0.046667 | awesome-app | 156 | 2024-01-25T17:09:48.223484 | MIT | false | bc8620d7de6bea7a2239486145304c56 |
//\n// AllLocationDataSource.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-22.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\n\nclass AllLocationDataSource: LocationDataSourceProtocol {\n private(set) var nodes = [Lo... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\AllLocationDataSource.swift | AllLocationDataSource.swift | Swift | 4,562 | 0.95 | 0.062016 | 0.09009 | python-kit | 102 | 2024-12-11T18:02:18.290035 | BSD-3-Clause | false | 417c2c393127a158f91b2195fd9726c0 |
//\n// CustomListLocationNodeBuilder.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-03-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport MullvadTypes\n\nstruct CustomListLocationNodeBuilder {\n let customList: CustomList\n let allLoc... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\CustomListLocationNodeBuilder.swift | CustomListLocationNodeBuilder.swift | Swift | 2,387 | 0.95 | 0.025 | 0.102941 | awesome-app | 601 | 2025-01-28T22:14:04.517536 | MIT | false | 2317eadb7013c12760eed4a1ea5fb0bf |
//\n// CustomListsDataSource.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-22.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\n\nclass CustomListsDataSource: LocationDataSourceProtocol {\n priv... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\CustomListsDataSource.swift | CustomListsDataSource.swift | Swift | 2,885 | 0.95 | 0.083333 | 0.241935 | awesome-app | 915 | 2024-04-04T00:03:17.502030 | MIT | false | c27ff55faf8038aaaa6d0c5df1a59a98 |
//\n// DAITAInfoView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-10-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass DAITAInfoView: UIView {\n let infoLabel: UILabel = {\n let label = UILabel()\n label.numberOfLines = 0\n\n let info... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\DAITAInfoView.swift | DAITAInfoView.swift | Swift | 2,436 | 0.95 | 0.051282 | 0.111111 | awesome-app | 817 | 2024-01-21T11:54:10.285885 | Apache-2.0 | false | 2d865f97e29368d9e0bd32de0da92427 |
//\n// LocationCell.swift\n// MullvadVPN\n//\n// Created by pronebird on 02/05/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nprotocol LocationCellDelegate: AnyObject {\n func toggleExpanding(cell: LocationCell)\n func toggleSelecting(cell: LocationCell)\n}\n\nclass Loc... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationCell.swift | LocationCell.swift | Swift | 11,490 | 0.95 | 0.048023 | 0.030612 | vue-tools | 947 | 2023-08-13T07:34:17.955775 | GPL-3.0 | false | f2b9f925315252399273e0b5f31ffab9 |
//\n// LocationCellViewModel.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-02-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\n\nstruct LocationCellViewModel: Hashable, Sendable {\n let section: LocationSection\n let node: LocationNode\n var indentationLeve... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationCellViewModel.swift | LocationCellViewModel.swift | Swift | 4,048 | 0.95 | 0.061947 | 0.159574 | python-kit | 896 | 2024-09-30T15:02:51.346138 | MIT | false | 393638df215e6588d6bcdab6067e16de |
//\n// LocationDataSource.swift\n// MullvadVPN\n//\n// Created by pronebird on 11/03/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport UIKit\n\nfinal class LocationDataSource:\n UITableViewDiffableDataSou... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationDataSource.swift | LocationDataSource.swift | Swift | 14,731 | 0.95 | 0.092593 | 0.080247 | node-utils | 32 | 2025-06-15T12:14:05.372695 | GPL-3.0 | false | 0007195731815cb3c2527537b593014a |
//\n// LocationDataSourceProtocol.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-02-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\n\nprotocol LocationDataSourceProtocol {\n var nodes: [LocationNode] { get }\n var searcha... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationDataSourceProtocol.swift | LocationDataSourceProtocol.swift | Swift | 2,025 | 0.95 | 0.073529 | 0.166667 | python-kit | 276 | 2023-08-29T22:04:46.467741 | GPL-3.0 | false | 661bb36849c2e1b87cf4f1052b13f6ed |
//\n// LocationDiffableDataSourceProtocol.swift\n// MullvadVPNUITests\n//\n// Created by Jon Petersson on 2024-03-27.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\nimport UIKit\n\nprotocol LocationDiffableDataSourceProtocol: UITableViewDiffableDataSource<LocationSection, Loca... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationDiffableDataSourceProtocol.swift | LocationDiffableDataSourceProtocol.swift | Swift | 6,451 | 0.95 | 0.088235 | 0.123288 | react-lib | 251 | 2024-04-27T09:30:28.261993 | GPL-3.0 | false | 313ee19065a24c27f6f0a599a529fc37 |
//\n// LocationNode.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport MullvadTypes\n\nclass LocationNode: @unchecked Sendable {\n let name: String\n var code: String\n var locations: [RelayLoc... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationNode.swift | LocationNode.swift | Swift | 4,787 | 0.95 | 0.035294 | 0.068493 | react-lib | 91 | 2023-09-11T01:13:59.711397 | GPL-3.0 | false | fea67785e145382759b781305ab2ac89 |
//\n// LocationRelays.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-08-12.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\n\nstruct LocationRelays: Sendable {\n var relays: [REST.ServerRelay]\n var locations: [String: REST.ServerLocation]\n}\n\nextension Ar... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationRelays.swift | LocationRelays.swift | Swift | 932 | 0.95 | 0 | 0.259259 | python-kit | 559 | 2024-04-05T17:58:47.594318 | GPL-3.0 | false | 83ac020b6348d0c1673b86b706949d78 |
//\n// LocationSection.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-02-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nenum LocationSection: String, Hashable, CaseIterable, CellIdentifierProtocol, Sendable {\n case customLists\n case allLocations\n\n var he... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationSection.swift | LocationSection.swift | Swift | 1,192 | 0.95 | 0.042553 | 0.162791 | react-lib | 464 | 2024-03-05T01:42:42.324250 | MIT | false | 78d4f5525703bc0d8c400a4a565e7d24 |
//\n// LocationSectionHeaderView.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-01-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass LocationSectionHeaderFooterView: UIView, UIContentView {\n var configuration: UIContentConfiguration {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationSectionHeaderFooterView.swift | LocationSectionHeaderFooterView.swift | Swift | 4,116 | 0.95 | 0.03252 | 0.065421 | vue-tools | 988 | 2023-09-15T02:10:50.651567 | BSD-3-Clause | false | e9b4e8a1590253b595e49fa9989c8bfc |
//\n// LocationViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 02/05/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport UIKit\n\nprotocol LocationViewControllerDelegate: AnyObject {\n func navigateToCu... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationViewController.swift | LocationViewController.swift | Swift | 7,295 | 0.95 | 0.017857 | 0.054945 | python-kit | 589 | 2025-06-07T13:35:53.564415 | Apache-2.0 | false | 5fa7840b2afe460f0ad65a48bc72e688 |
//\n// LocationViewControllerWrapper.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-04-23.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport UIKit\n\nprotocol LocationViewControllerWrapperDelegate: AnyObject {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\LocationViewControllerWrapper.swift | LocationViewControllerWrapper.swift | Swift | 11,597 | 0.95 | 0.036254 | 0.028169 | react-lib | 222 | 2025-05-31T02:17:57.806317 | GPL-3.0 | false | 4338b2bae2eefebe35eeb1f6874c4aea |
//\n// RelaySelection.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-04-29.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\n\nstruct RelaySelection: Sendable {\n var selected: UserSelectedRelays?\n var excluded: UserSelectedRelays?\n var excludedTitle: S... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\SelectLocation\RelaySelection.swift | RelaySelection.swift | Swift | 317 | 0.95 | 0 | 0.538462 | vue-tools | 598 | 2023-12-18T08:50:37.189785 | GPL-3.0 | false | bf18589e49bedabf02063950e01b266e |
//\n// CheckableSettingsCell.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 CheckableSettingsCell: SettingsCell {\n let checkboxView = CheckboxView()\n\n var isEnabled = true {\n didSet {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\CheckableSettingsCell.swift | CheckableSettingsCell.swift | Swift | 1,550 | 0.95 | 0.016667 | 0.145833 | react-lib | 373 | 2024-03-10T00:23:04.127797 | GPL-3.0 | false | c4a977bab8bbcba5979238b6f27d5904 |
//\n// SelectableSettingsCell.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-05-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass SelectableSettingsCell: SettingsCell {\n let tickImageView: UIImageView = {\n let imageView = UIImageView(image: UIImage... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SelectableSettingsCell.swift | SelectableSettingsCell.swift | Swift | 1,495 | 0.95 | 0.019231 | 0.162791 | awesome-app | 993 | 2024-03-11T07:50:36.157783 | Apache-2.0 | false | 9847116dd959906354cc767e0e675d44 |
//\n// SelectableSettingsDetailsCell.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-10-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass SelectableSettingsDetailsCell: SelectableSettingsCell {\n let viewContainer = UIView()\n\n var buttonAction: (() -> V... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SelectableSettingsDetailsCell.swift | SelectableSettingsDetailsCell.swift | Swift | 2,449 | 0.95 | 0.027778 | 0.140351 | python-kit | 789 | 2024-04-14T09:42:44.080413 | MIT | false | eead9d574bfe162d53bde3f61a815835 |
//\n// SettingsAddDNSEntryCell.swift\n// MullvadVPN\n//\n// Created by pronebird on 27/10/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass SettingsAddDNSEntryCell: SettingsCell {\n var tapAction: (() -> Void)?\n\n override init(style: UITableViewCell.CellStyle, reus... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsAddDNSEntryCell.swift | SettingsAddDNSEntryCell.swift | Swift | 936 | 0.95 | 0.057143 | 0.25 | react-lib | 135 | 2024-07-31T23:15:47.458731 | BSD-3-Clause | false | 97f64fc56dec5b2db844e60a80dea0ff |
//\n// SettingsCell.swift\n// MullvadVPN\n//\n// Created by pronebird on 22/05/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nenum SettingsDisclosureType {\n case none\n case chevron\n case externalLink\n case tick\n\n var image: UIImage? {\n switch self... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsCell.swift | SettingsCell.swift | Swift | 7,135 | 0.95 | 0.064039 | 0.054878 | react-lib | 191 | 2023-10-06T13:41:00.049444 | GPL-3.0 | false | 34fc8186f1350a4db343dc73b15d55ed |
//\n// SettingsCellFactory.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 SettingsCellEventHandler {\n func showInfo(for button: SettingsInfoButtonItem)\n}\n\n@MainActor\nfinal ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsCellFactory.swift | SettingsCellFactory.swift | Swift | 5,263 | 0.95 | 0.025974 | 0.069767 | awesome-app | 931 | 2024-01-20T19:45:44.459215 | Apache-2.0 | false | 302604a53f3482f6c4fd5f297d8cb730 |
//\n// SettingsDataSource.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/10/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\nfinal class SettingsDataSource: UITableViewDiffableDataSource<SettingsDataSource.Section, SettingsDataSource.Item>,\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsDataSource.swift | SettingsDataSource.swift | Swift | 5,348 | 0.95 | 0.055249 | 0.060403 | node-utils | 944 | 2025-03-31T16:17:07.490001 | BSD-3-Clause | false | b17c06bbeabd3970ca870ecaae9feb0e |
//\n// SettingsDataSourceDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/10/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport UIKit\n\nprotocol SettingsDataSourceDelegate: AnyObject {\n func didSelectItem(item: SettingsDataSource.Item)\n fun... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsDataSourceDelegate.swift | SettingsDataSourceDelegate.swift | Swift | 350 | 0.95 | 0.066667 | 0.538462 | awesome-app | 64 | 2024-01-11T04:19:22.898776 | Apache-2.0 | false | 5b0ebaa46c56d92dd9b07da74dd825b8 |
//\n// SettingsDNSInfoCell.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-07-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass SettingsDNSInfoCell: UITableViewCell {\n let titleLabel = UILabel()\n\n override init(style: UITableViewCell.CellStyle, reuseId... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsDNSInfoCell.swift | SettingsDNSInfoCell.swift | Swift | 923 | 0.95 | 0.03125 | 0.28 | node-utils | 320 | 2025-06-12T19:06:15.085289 | GPL-3.0 | false | 1a0b738b94c0fe4d75551b323f062884 |
//\n// SettingsDNSTextCell.swift\n// MullvadVPN\n//\n// Created by pronebird on 05/10/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass SettingsDNSTextCell: SettingsCell, UITextFieldDelegate {\n var isValidInput = true {\n didSet {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsDNSTextCell.swift | SettingsDNSTextCell.swift | Swift | 4,291 | 0.95 | 0.028169 | 0.069565 | react-lib | 969 | 2023-12-14T08:33:03.208418 | MIT | false | ab0da676d6a4ec5c3df37e6265410e95 |
//\n// SettingsHeaderView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-04-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass SettingsHeaderView: UITableViewHeaderFooterView {\n typealias InfoButtonHandler = () -> Void\n typealias CollapseHandler = (Sett... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsHeaderView.swift | SettingsHeaderView.swift | Swift | 4,983 | 0.95 | 0.032895 | 0.055556 | node-utils | 863 | 2024-12-20T20:18:51.578652 | Apache-2.0 | false | a42abfbf9ebcc39580ef284a8b5533e8 |
//\n// SettingsInfoButtonItem.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-10-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum SettingsInfoButtonItem: CustomStringConvertible {\n case daita\n case daitaDirectOnly\n\n var description: String {\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsInfoButtonItem.swift | SettingsInfoButtonItem.swift | Swift | 1,743 | 0.95 | 0.065217 | 0.162791 | awesome-app | 466 | 2023-08-08T17:37:26.194679 | GPL-3.0 | false | a14b9c1d9a8d99494a0af674e841bb31 |
//\n// SettingsInputCell.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-05-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass SettingsInputCell: SelectableSettingsCell {\n let textField = CustomTextField(frame: CGRect(origin: .zero, size: CGSize(width: 100, ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsInputCell.swift | SettingsInputCell.swift | Swift | 3,911 | 0.95 | 0.030075 | 0.066667 | python-kit | 303 | 2024-03-15T01:52:23.847553 | Apache-2.0 | false | 86fef86b42b370f3537337679bce7561 |
//\n// SettingsInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadSettings\n\nfinal class SettingsInteractor {\n private let tunnelManager: TunnelManager\n private var... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsInteractor.swift | SettingsInteractor.swift | Swift | 1,193 | 0.95 | 0.022222 | 0.194444 | node-utils | 982 | 2025-03-10T06:03:41.950764 | MIT | false | 89079afb0103a50659883488edae73c6 |
//\n// SettingsInteractorFactory.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadSettings\n\nfinal class SettingsInteractorFactory {\n private let apiProxy: APIQuerying\n private let relayCacheT... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsInteractorFactory.swift | SettingsInteractorFactory.swift | Swift | 1,434 | 0.95 | 0.021739 | 0.184211 | awesome-app | 354 | 2025-05-17T05:38:09.113364 | BSD-3-Clause | false | d035db81f1bee3a70d3be8918a21c668 |
//\n// SettingsPromptAlertItem.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\n case daitaSettingIncompatibleW... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsPromptAlertItem.swift | SettingsPromptAlertItem.swift | Swift | 1,313 | 0.95 | 0.09375 | 0.233333 | react-lib | 490 | 2024-07-07T18:31:25.565961 | GPL-3.0 | false | 89d59a16a32e1f8e36b18182ba2cec04 |
//\n// SettingsSwitchCell.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/05/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass SettingsSwitchCell: SettingsCell {\n private let switchContainer = CustomSwitchContainer()\n\n var action: ((Bool) -> Void)?\n\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsSwitchCell.swift | SettingsSwitchCell.swift | Swift | 2,693 | 0.95 | 0.017857 | 0.113636 | node-utils | 904 | 2024-12-23T10:51:56.328477 | MIT | false | 246fcd025b5b2c1484467c39c3461851 |
//\n// SettingsViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 20/03/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport Routing\nimport UIKit\n\nprotocol SettingsViewControllerDelegate: AnyObject, Sendable {\n func settings... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsViewController.swift | SettingsViewController.swift | Swift | 3,821 | 0.95 | 0.02381 | 0.064815 | python-kit | 316 | 2024-03-21T12:40:31.641501 | Apache-2.0 | false | 9675ae7b24601ff0b3059df7c6748cbe |
//\n// SettingsViewModel.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-10-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\n\nstruct SettingsViewModel {\n private(set) var daitaSettings: DAITASettings\n private(set) var multihopState: MultihopState\n\... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SettingsViewModel.swift | SettingsViewModel.swift | Swift | 499 | 0.95 | 0 | 0.4375 | vue-tools | 18 | 2024-08-28T23:36:29.358836 | GPL-3.0 | false | 6f28babb4ac4b1fb770d2505428011a6 |
//\n// ShadowsocksObfuscationSettingsView.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-11-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport SwiftUI\n\nstruct ShadowsocksObfuscationSettingsView<VM>: View where VM: ShadowsocksObfuscationSettingsViewMo... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\Obfuscation\ShadowsocksObfuscationSettingsView.swift | ShadowsocksObfuscationSettingsView.swift | Swift | 2,408 | 0.95 | 0.013699 | 0.117647 | vue-tools | 948 | 2023-10-17T17:39:14.054663 | BSD-3-Clause | false | 7cb136e9e7664c14b8206aa383dd02d4 |
//\n// ShadowsocksObfuscationSettingsViewModel.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-11-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nprotocol ShadowsocksObfuscationSettingsViewModel: ObservableObject {\n var value: WireG... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\Obfuscation\ShadowsocksObfuscationSettingsViewModel.swift | ShadowsocksObfuscationSettingsViewModel.swift | Swift | 1,164 | 0.95 | 0.075 | 0.272727 | awesome-app | 866 | 2025-03-22T13:49:43.810741 | Apache-2.0 | false | d89d8d26977ac6cb5b18109b65deb794 |
//\n// TunnelObfuscationSettingsWatchingObservableObject.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-11-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\n/// a generic ObservableObject that binds to obfuscation settings in TunnelManag... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\Obfuscation\TunnelObfuscationSettingsWatchingObservableObject.swift | TunnelObfuscationSettingsWatchingObservableObject.swift | Swift | 1,678 | 0.95 | 0.108696 | 0.25641 | node-utils | 265 | 2025-03-01T20:52:44.295178 | GPL-3.0 | false | e6726dc7893a0c00094d245419fe1185 |
//\n// UDPOverTCPObfuscationSettingsView.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-10-28.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport SwiftUI\n\nstruct UDPOverTCPObfuscationSettingsView<VM>: View where VM: UDPOverTCPObfuscationSettingsViewModel... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\Obfuscation\UDPOverTCPObfuscationSettingsView.swift | UDPOverTCPObfuscationSettingsView.swift | Swift | 1,297 | 0.95 | 0 | 0.210526 | awesome-app | 721 | 2023-10-31T06:19:32.129319 | GPL-3.0 | false | da6eaea0a6c62da19970befd72bc85c4 |
//\n// UDPOverTCPObfuscationSettingsViewModel.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-11-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nprotocol UDPOverTCPObfuscationSettingsViewModel: ObservableObject {\n var value: WireGua... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\Obfuscation\UDPOverTCPObfuscationSettingsViewModel.swift | UDPOverTCPObfuscationSettingsViewModel.swift | Swift | 1,140 | 0.95 | 0.075 | 0.272727 | vue-tools | 644 | 2024-08-20T08:54:33.152014 | GPL-3.0 | false | d45ae521260c832fc54e7feb57c0c6bc |
//\n// SingleChoiceList.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-11-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\n/**\n A component presenting a vertical list in the Mullvad style for selecting a single item from a list.\n This is parametrised over a v... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SwiftUI components\SingleChoiceList.swift | SingleChoiceList.swift | Swift | 18,152 | 0.95 | 0.089623 | 0.151134 | vue-tools | 700 | 2025-03-25T16:31:46.344691 | MIT | false | fc4f397e723a8f84617518b4cbb08703 |
//\n// StatefulPreviewWrapper.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-11-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n// This should probably live somewhere more central than `View controllers/Settings/SwiftUI components`. Where exactly is to be determined.\n\nimport S... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Settings\SwiftUI components\StatefulPreviewWrapper.swift | StatefulPreviewWrapper.swift | Swift | 1,012 | 0.95 | 0.085714 | 0.392857 | vue-tools | 920 | 2025-05-06T03:50:23.117626 | MIT | false | a4d75a86dd7c323d7b962d58d0aa65bb |
//\n// TermsOfServiceContentView.swift\n// MullvadVPN\n//\n// Created by pronebird on 28/04/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass TermsOfServiceContentView: UIView {\n let titleLabel: UILabel = {\n let titleLabel = UILabel()\n titleLabel.transl... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\TermsOfService\TermsOfServiceContentView.swift | TermsOfServiceContentView.swift | Swift | 7,271 | 0.95 | 0.044944 | 0.05298 | python-kit | 422 | 2025-05-22T07:21:55.791295 | BSD-3-Clause | false | 7f55653eaa1e85e4c381fc74c59ae7da |
//\n// TermsOfServiceViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 21/02/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass TermsOfServiceViewController: UIViewController, RootContainment {\n var showPrivacyPolicy: (() -> Void)?\n var completionH... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\TermsOfService\TermsOfServiceViewController.swift | TermsOfServiceViewController.swift | Swift | 1,836 | 0.95 | 0.046154 | 0.173077 | react-lib | 868 | 2025-01-29T15:56:40.828772 | MIT | false | 9af8fc6ddadb0e036b49140cde76efc9 |
//\n// CustomOverlayRenderer.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MapKit\n\nclass CustomOverlayRenderer: MKOverlayRenderer {\n override func draw(_ mapRect: MKMapRect, zoomScale: MKZoomScale, in context: CGContext... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\CustomOverlayRenderer.swift | CustomOverlayRenderer.swift | Swift | 456 | 0.95 | 0.117647 | 0.466667 | vue-tools | 451 | 2024-02-22T11:38:28.213100 | MIT | false | 25e019901c89eebfb6ef185ca0619a9c |
//\n// MapViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 03/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MapKit\nimport MullvadLogging\nimport Operations\n\nprivate let locationMarkerReuseIdentifier = "location"\nprivate let geoJSONSourceFi... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Tunnel\MapViewController.swift | MapViewController.swift | Swift | 10,515 | 0.95 | 0.054487 | 0.071713 | awesome-app | 967 | 2023-11-09T14:55:55.980382 | BSD-3-Clause | false | 8c9704e136af896aaad861ffcbc12e01 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.