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// String+FuzzyMatch.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-04-02.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension String {\n func fuzzyMatch(_ needle: String) -> Bool {\n guard !needle.isEmpty else { return false }\n\n let ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\String+FuzzyMatch.swift | String+FuzzyMatch.swift | Swift | 840 | 0.95 | 0.083333 | 0.25 | python-kit | 667 | 2025-01-20T10:14:04.128510 | GPL-3.0 | false | 688a4ff9136b39ffab1d16ce4226ffe8 |
//\n// String+Helpers.swift\n// MullvadVPN\n//\n// Created by pronebird on 27/03/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension String {\n /// Returns the array of the longest possible subsequences of the given length.\n func split(every length: Int) -> [Subst... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\String+Helpers.swift | String+Helpers.swift | Swift | 745 | 0.95 | 0 | 0.380952 | node-utils | 185 | 2024-06-17T23:18:47.421144 | BSD-3-Clause | false | 5011f22c2c1aef3c56db21753a901c54 |
//\n// UIBackgroundConfiguration+Extensions.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension UIBackgroundConfiguration {\n /// Type of cell selection used in Mullvad UI.\n enum CellSelectionType {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UIBackgroundConfiguration+Extensions.swift | UIBackgroundConfiguration+Extensions.swift | Swift | 2,566 | 0.95 | 0.128205 | 0.338028 | awesome-app | 72 | 2024-08-30T11:27:28.360450 | GPL-3.0 | false | 47b1d8d37c5eb405af2bbb82492a578f |
//\n// UIBarButtonItem+KeyboardNavigation.swift\n// MullvadVPN\n//\n// Created by pronebird on 24/02/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension UIBarButtonItem {\n enum KeyboardNavigationItemType {\n case previous, next\n\n fileprivate var local... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UIBarButtonItem+KeyboardNavigation.swift | UIBarButtonItem+KeyboardNavigation.swift | Swift | 2,189 | 0.95 | 0.027397 | 0.111111 | react-lib | 449 | 2023-11-22T11:25:05.296715 | Apache-2.0 | false | 3662eaa76d41f64ba71213530338cba9 |
//\n// UIColor+Helpers.swift\n// MullvadVPN\n//\n// Created by pronebird on 06/05/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nextension UIColor {\n var color: Color {\n Color(self)\n }\n\n /// Returns the color lighter by the given percent (in range from ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UIColor+Helpers.swift | UIColor+Helpers.swift | Swift | 1,074 | 0.95 | 0.02439 | 0.264706 | awesome-app | 649 | 2025-04-07T16:12:05.194600 | MIT | false | df9746109aa39102abd6ca20516a93bc |
//\n// UIFont+Weight.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-05-23.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension UIFont {\n static func preferredFont(forTextStyle style: TextStyle, weight: Weight) -> UIFont {\n let descriptor = UIFontDesc... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UIFont+Weight.swift | UIFont+Weight.swift | Swift | 542 | 0.95 | 0 | 0.411765 | awesome-app | 603 | 2023-11-19T20:23:56.414474 | Apache-2.0 | false | 8760a33d1a103cb1d3b9e1781608a57f |
//\n// UIImage+Assets.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2025-03-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension UIImage {\n enum Buttons {\n static var account: UIImage {\n UIImage(named: "IconAccount")!\n }\n\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UIImage+Assets.swift | UIImage+Assets.swift | Swift | 2,472 | 0.95 | 0 | 0.109756 | vue-tools | 329 | 2025-06-02T09:49:12.117237 | MIT | false | fbd65ef73c9341d992042fb22dc3a9fa |
//\n// UIImage+Helpers.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-10-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension UIImage {\n // Function to resize image while keeping aspect ratio\n // if `trimmingBorder` is specified, that number of pixels will b... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UIImage+Helpers.swift | UIImage+Helpers.swift | Swift | 1,682 | 0.95 | 0.046512 | 0.297297 | node-utils | 786 | 2024-03-13T09:22:42.709410 | GPL-3.0 | false | 9bd1bdf90de4445fafd644aae5f0c1c1 |
//\n// UIListContentConfiguration+Extensions.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension UIListContentConfiguration {\n /// Returns cell configured with default text attribute used in Mullvad UI.\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UIListContentConfiguration+Extensions.swift | UIListContentConfiguration+Extensions.swift | Swift | 3,109 | 0.95 | 0.012821 | 0.174603 | vue-tools | 160 | 2024-07-06T11:30:01.095016 | MIT | false | 893eda36819d1ff09875c4b01eb8e715 |
//\n// UITableView+ReuseIdentifier.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/11/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/**\n Type describing cell identifier.\n\n Example:\n\n ```\n enum MyCellIdentifier: CaseIterable, String, CellIdentifierProtocol {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UITableView+ReuseIdentifier.swift | UITableView+ReuseIdentifier.swift | Swift | 3,599 | 0.95 | 0.045872 | 0.293478 | react-lib | 665 | 2024-12-27T20:16:00.069413 | Apache-2.0 | false | a0d4b9a57f3012ce8a3498ea12412897 |
//\n// UITableViewCell+Disable.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-01-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension UITableViewCell {\n func setDisabled(_ disabled: Bool) {\n isUserInteractionEnabled = !disabled\n contentVie... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UITableViewCell+Disable.swift | UITableViewCell+Disable.swift | Swift | 345 | 0.95 | 0 | 0.5 | python-kit | 488 | 2025-01-31T23:14:37.580820 | MIT | false | c1d83c9d20ffa8efc76fad08f77abbf0 |
//\n// UITextField+Appearance.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-04-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension UITextField {\n @MainActor\n struct SearchTextFieldAppearance {\n let placeholderTextColor: UIColor\n let ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UITextField+Appearance.swift | UITextField+Appearance.swift | Swift | 2,176 | 0.95 | 0.031746 | 0.127273 | python-kit | 202 | 2024-03-07T15:52:25.773209 | GPL-3.0 | false | fffb1194d1a6133e8b64b9b8f06c39ac |
//\n// UIView+AutoLayoutBuilder.swift\n// MullvadVPN\n//\n// Created by pronebird on 24/03/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/**\n Protocol that describes common AutoLayout properties of `UIView` and `UILayoutGuide` and helps to remove distinction\n between two o... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\UIView+AutoLayoutBuilder.swift | UIView+AutoLayoutBuilder.swift | Swift | 7,628 | 0.95 | 0.018657 | 0.209821 | react-lib | 301 | 2025-04-05T05:23:07.166073 | Apache-2.0 | false | 0d03bbd3d9ffdf1ab85d975ca56567c9 |
//\n// URL+Scoping.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-02.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension URL {\n func securelyScoped(_ completionHandler: (Self?) -> Void) {\n if startAccessingSecurityScopedResource() {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\URL+Scoping.swift | URL+Scoping.swift | Swift | 457 | 0.95 | 0.05 | 0.388889 | awesome-app | 622 | 2024-05-06T18:09:17.949865 | BSD-3-Clause | false | 8781c47917ecacb1278779469095898b |
//\n// View+Conditionals.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2025-01-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nextension View {\n @ViewBuilder func `if`<Content: View>(\n _ conditional: Bool,\n @ViewBuilder _ content: (Self) -> Conte... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\View+Conditionals.swift | View+Conditionals.swift | Swift | 878 | 0.95 | 0.097561 | 0.189189 | python-kit | 677 | 2024-12-19T03:22:15.300546 | GPL-3.0 | false | bede9858948b9aca59382cc754e564ca |
//\n// View+Modifier.swift\n// MullvadVPN\n//\n// Created by Steffen Ernst on 2025-01-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nextension View {\n /**\n A view modifier that can be used to conditionally apply other view modifiers.\n # Example #\n ```\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\View+Modifier.swift | View+Modifier.swift | Swift | 553 | 0.95 | 0.038462 | 0.416667 | vue-tools | 975 | 2024-04-08T00:10:30.261722 | BSD-3-Clause | false | 933f6fec2d00e55d6696d39e4e9af6bc |
//\n// View+Size.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-11-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\n\nextension View {\n /// Measures view size.\n func sizeOfView(_ onSizeChange: @escaping ((CGSize) -> Void)) -> some View {\n return sel... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\View+Size.swift | View+Size.swift | Swift | 900 | 0.95 | 0 | 0.275862 | awesome-app | 156 | 2024-08-05T05:45:26.733373 | MIT | false | 632d4ba2421d0e103514d6b82599f340 |
//\n// View+TapAreaSize.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\nextension View {\n /// Adjusts tappable area to at least minimum (default) size without changing\n /// actual view size.\n func adj... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Extensions\View+TapAreaSize.swift | View+TapAreaSize.swift | Swift | 908 | 0.95 | 0 | 0.321429 | python-kit | 606 | 2025-05-21T10:44:16.612240 | GPL-3.0 | false | b5bb399e2b5580da64d73209a694c67c |
//\n// OutgoingConnectionData.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-11-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\ntypealias IPV4ConnectionData = OutgoingConnectionData<IPv4Address>\ntypealias IPV6ConnectionData = OutgoingConnectionData<... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\GeneralAPIs\OutgoingConnectionData.swift | OutgoingConnectionData.swift | Swift | 693 | 0.95 | 0 | 0.363636 | python-kit | 307 | 2024-02-05T13:09:34.902081 | Apache-2.0 | false | a368f9715d8716937aa229344710ee0c |
//\n// OutgoingConnectionProxy.swift\n// MullvadREST\n//\n// Created by Mojgan on 2023-10-24.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\nimport Network\n\nprotocol OutgoingConnectionHandling {\n func getIPV6(retryStrategy: REST.Ret... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\GeneralAPIs\OutgoingConnectionProxy.swift | OutgoingConnectionProxy.swift | Swift | 3,581 | 0.95 | 0.166667 | 0.1 | python-kit | 919 | 2024-02-19T19:01:51.923983 | MIT | false | 2152d2a361616a872b4215acef04cf48 |
//\n// InAppNotificationDescriptor.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit.UIImage\n\n/// Struct describing in-app notification.\nstruct InAppNotificationDescriptor: Equatable {\n /// Notific... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\InAppNotificationDescriptor.swift | InAppNotificationDescriptor.swift | Swift | 1,159 | 0.95 | 0.020833 | 0.459459 | vue-tools | 389 | 2025-04-23T01:46:09.225646 | MIT | false | b8c4685defa6e62e297da49e8c233291 |
//\n// InAppNotificationProvider.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Protocol describing in-app notification provider.\nprotocol InAppNotificationProvider: NotificationProviderProtocol {\n /// I... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\InAppNotificationProvider.swift | InAppNotificationProvider.swift | Swift | 411 | 0.95 | 0 | 0.692308 | vue-tools | 425 | 2024-03-18T17:33:47.843638 | GPL-3.0 | false | b0da8083aa5bf8e690a6744b63036b62 |
//\n// NotificationManager.swift\n// MullvadVPN\n//\n// Created by pronebird on 31/05/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport UserNotifications\n\nfinal class NotificationManager: NotificationProviderDelegate {\n private lazy var log... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\NotificationManager.swift | NotificationManager.swift | Swift | 9,845 | 0.95 | 0.086957 | 0.053922 | python-kit | 466 | 2023-12-10T10:13:46.206729 | GPL-3.0 | false | f67ad3e1853c6db3b1c90a4b85849c84 |
//\n// NotificationManagerDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nprotocol NotificationManagerDelegate: AnyObject {\n func notificationManagerDidUpdateInAppNotifications(\n _ manager: No... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\NotificationManagerDelegate.swift | NotificationManagerDelegate.swift | Swift | 493 | 0.95 | 0 | 0.466667 | awesome-app | 916 | 2024-10-21T21:31:26.712105 | GPL-3.0 | false | f265d812e02d712162f1f1c1cbfdaf2c |
//\n// NotificationProvider.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UserNotifications\n\n/// Notification provider delegate primarily used by `NotificationManager`.\nprotocol NotificationProviderDeleg... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\NotificationProvider.swift | NotificationProvider.swift | Swift | 2,209 | 0.95 | 0.102941 | 0.293103 | node-utils | 788 | 2024-03-13T22:23:02.935710 | Apache-2.0 | false | fb2d2df20f0ceb64248ccc175505a671 |
//\n// NotificationProviderIdentifier.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-05-10.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nenum NotificationPriority: Int, Comparable {\n case low = 1\n case medium = 2\n case high = 3\n case critical = 4\n\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\NotificationProviderIdentifier.swift | NotificationProviderIdentifier.swift | Swift | 1,001 | 0.95 | 0 | 0.25 | react-lib | 305 | 2023-09-28T12:04:03.937701 | GPL-3.0 | false | f38f185045573a93ace9fdd5e397c1e6 |
//\n// NotificationProviderProtocol.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Base protocol for notification providers.\nprotocol NotificationProviderProtocol {\n /// Unique provider identifier used t... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\NotificationProviderProtocol.swift | NotificationProviderProtocol.swift | Swift | 771 | 0.95 | 0.043478 | 0.684211 | awesome-app | 893 | 2023-12-23T05:29:00.946133 | GPL-3.0 | false | 5e1c97a7f7369fa36b2d351a586438fb |
//\n// NotificationResponse.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/05/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UserNotifications\n\n/**\n Struct holding system or in-app notification response.\n */\nstruct NotificationResponse {\n /// Provi... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\NotificationResponse.swift | NotificationResponse.swift | Swift | 620 | 0.95 | 0.041667 | 0.6 | node-utils | 259 | 2024-07-20T21:47:14.426110 | BSD-3-Clause | false | 167c773d6c6483fc7af521a8e67b2d11 |
//\n// SystemNotificationProvider.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UserNotifications\n\n/// Protocol describing a system notification provider.\nprotocol SystemNotificationProvider: Notificatio... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\SystemNotificationProvider.swift | SystemNotificationProvider.swift | Swift | 669 | 0.95 | 0.045455 | 0.611111 | vue-tools | 481 | 2024-01-30T18:59:16.942419 | GPL-3.0 | false | ab01e3f770fd8652fadaf5b2be58825a |
//\n// AccountExpiry.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-11-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\nstruct AccountExpiry {\n enum Trigger {\n case system, inApp\n\n var dateIntervals: [Int] {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\Notification Providers\AccountExpiry.swift | AccountExpiry.swift | Swift | 2,796 | 0.95 | 0.065217 | 0.146667 | node-utils | 763 | 2024-01-11T16:26:05.380072 | MIT | false | 61beaa6053ca5991c173d4ce2e44abff |
//\n// AccountExpiryInAppNotificationProvider.swift\n// MullvadVPN\n//\n// Created by pronebird on 12/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport MullvadTypes\n\nfinal class AccountExpiryInAppNotificationProvider: NotificationProvider, ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\Notification Providers\AccountExpiryInAppNotificationProvider.swift | AccountExpiryInAppNotificationProvider.swift | Swift | 3,971 | 0.95 | 0.047619 | 0.086538 | awesome-app | 392 | 2025-06-25T18:15:43.124003 | GPL-3.0 | false | e93129ca7916a080c6d6c0480be1cae4 |
//\n// AccountExpirySystemNotificationProvider.swift\n// MullvadVPN\n//\n// Created by pronebird on 03/06/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport UserNotifications\n\nfinal class AccountExpirySystemNotificationProvider: NotificationPro... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\Notification Providers\AccountExpirySystemNotificationProvider.swift | AccountExpirySystemNotificationProvider.swift | Swift | 7,001 | 0.95 | 0.075377 | 0.083832 | awesome-app | 527 | 2023-11-06T13:52:54.994727 | MIT | false | 44a09b26dd2131c6ee6ef3be731dc8d9 |
//\n// NewDeviceNotificationProvider.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-04-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport UIKit.UIColor\nimport UIKit.UIFont\n\nfinal class NewDeviceNotificationProvider: NotificationProvider,... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\Notification Providers\NewDeviceNotificationProvider.swift | NewDeviceNotificationProvider.swift | Swift | 3,504 | 0.95 | 0.037736 | 0.111111 | python-kit | 587 | 2024-04-29T02:10:00.114483 | MIT | false | ae884e43b57136a10c7c51bbfa1435a5 |
//\n// NotificationConfiguration.swift\n// MullvadVPN\n//\n// Created by pronebird on 27/04/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum NotificationConfiguration {\n /**\n Duration measured in days, before the account expiry, when a system notification is ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\Notification Providers\NotificationConfiguration.swift | NotificationConfiguration.swift | Swift | 920 | 0.95 | 0 | 0.52 | vue-tools | 394 | 2024-03-11T12:41:34.515120 | Apache-2.0 | false | 22d8e7200d1582b4b3c7ac813c5b821a |
//\n// TunnelStatusNotificationProvider.swift\n// TunnelStatusNotificationProvider\n//\n// Created by pronebird on 20/08/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport PacketTunnelCore\n\nfinal class TunnelStatusNotificationProvider: NotificationProvider, InAppNotif... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\Notification Providers\TunnelStatusNotificationProvider.swift | TunnelStatusNotificationProvider.swift | Swift | 9,571 | 0.95 | 0.082707 | 0.056522 | node-utils | 681 | 2023-07-21T20:21:01.396309 | GPL-3.0 | false | d840368b8ae06070d734ba4374daba2b |
//\n// NotificationBannerView.swift\n// MullvadVPN\n//\n// Created by pronebird on 01/06/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nfinal class NotificationBannerView: UIView {\n private let backgroundView = UIVisualEffectView(effect: UIBlurEffect(style: .dark))\n\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\UI\NotificationBannerView.swift | NotificationBannerView.swift | Swift | 5,746 | 0.95 | 0.023121 | 0.047297 | node-utils | 90 | 2024-05-26T14:55:01.101655 | BSD-3-Clause | false | 01ea8e50ae3c034583935542f03773f6 |
//\n// NotificationContainerView.swift\n// MullvadVPN\n//\n// Created by pronebird on 03/06/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nfinal class NotificationContainerView: UIView {\n override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\UI\NotificationContainerView.swift | NotificationContainerView.swift | Swift | 527 | 0.95 | 0.136364 | 0.421053 | node-utils | 621 | 2025-05-03T19:45:06.893474 | MIT | false | 72e3f7c152c4fb543219ccf38ba90426 |
//\n// NotificationController.swift\n// MullvadVPN\n//\n// Created by pronebird on 01/06/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nfinal class NotificationController: UIViewController {\n let bannerView: NotificationBannerView = {\n let bannerView = Notificatio... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Notifications\UI\NotificationController.swift | NotificationController.swift | Swift | 4,353 | 0.95 | 0.038462 | 0.102804 | awesome-app | 704 | 2025-03-22T13:31:30.283481 | BSD-3-Clause | false | ba8e45aa87cdc7c2104e32771fd1c1cb |
//\n// ProductsRequestOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 02/09/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\nimport Operations\nimport StoreKit\n\nfinal class ProductsRequestOperation: ResultOperation<SKProductsResponse>,\n SKProductsReque... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Operations\ProductsRequestOperation.swift | ProductsRequestOperation.swift | Swift | 2,340 | 0.95 | 0.022472 | 0.140845 | react-lib | 777 | 2025-01-14T03:46:44.096357 | BSD-3-Clause | false | da3b561515ed34a20bb2a26f9689c565 |
//\n// FormSheetPresentationController.swift\n// MullvadVPN\n//\n// Created by pronebird on 18/02/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\nimport UIKit\nstruct FormSheetPresentationOptions {\n /**\n Indicates whether the presentation controller should use a ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Presentation controllers\FormsheetPresentationController.swift | FormsheetPresentationController.swift | Swift | 10,739 | 0.95 | 0.059406 | 0.090196 | vue-tools | 133 | 2024-07-21T15:37:03.687239 | GPL-3.0 | false | 4c1df7090451bf6ae37a6043d04bedc8 |
//\n// CellFactoryProtocol.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 UIKit\n\n/// Protocol for creating factories to make ``UITableViewCell``s of various kinds.\n/// Typically used in conjunction with a ``UITableViewD... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Protocols\CellFactoryProtocol.swift | CellFactoryProtocol.swift | Swift | 629 | 0.95 | 0.1 | 0.5625 | vue-tools | 766 | 2023-09-29T08:29:10.191058 | BSD-3-Clause | false | e77e2cdc26f270cd28dac9a7bd0fe456 |
//\n// SettingsMigrationUIHandler.swift\n// MullvadVPN\n//\n// Created by pronebird on 24/11/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nprotocol SettingsMigrationUIHandler {\n func showMigrationError(_ error: Error, completionHandler: @escaping () -> Void)\n}\n | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Protocols\SettingsMigrationUIHandler.swift | SettingsMigrationUIHandler.swift | Swift | 305 | 0.95 | 0 | 0.636364 | python-kit | 604 | 2024-06-28T19:11:16.481898 | GPL-3.0 | false | e227b1ee845db8ede47748b986c04330 |
//\n// URLSessionProtocol.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-11-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nprotocol URLSessionProtocol {\n func data(for request: URLRequest) async throws -> (Data, URLResponse)\n}\n\nextension URLSession: U... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Protocols\URLSessionProtocol.swift | URLSessionProtocol.swift | Swift | 328 | 0.95 | 0.066667 | 0.583333 | awesome-app | 455 | 2024-01-15T17:22:16.507091 | Apache-2.0 | false | 5c60abf37b6cda98166b2dd819821b47 |
//\n// RelayCacheTracker.swift\n// MullvadVPN\n//\n// Created by pronebird on 05/06/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadTypes\nimport Operations\nimport UIKit\n\nprotocol RelayCacheTrackerProtocol: Sendabl... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\RelayCacheTracker\RelayCacheTracker.swift | RelayCacheTracker.swift | Swift | 10,443 | 0.95 | 0.069697 | 0.134615 | vue-tools | 915 | 2024-09-24T03:50:24.383984 | BSD-3-Clause | false | 89a5c68c35a5b7b02de01a4391142605 |
//\n// RelayCacheTrackerObserver.swift\n// RelayCacheTrackerObserver\n//\n// Created by pronebird on 09/09/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\n\nprotocol RelayCacheTrackerObserver: AnyObject {\n func relayCacheTracker(\n _ tracker: ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\RelayCacheTracker\RelayCacheTrackerObserver.swift | RelayCacheTrackerObserver.swift | Swift | 392 | 0.95 | 0 | 0.466667 | vue-tools | 777 | 2023-08-09T21:26:51.915020 | BSD-3-Clause | false | 025d130c120c4db0fb7029fc411d6df5 |
//\n// SimulatorTunnelInfo.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-09-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n#if targetEnvironment(simulator)\n\nimport Foundation\nimport NetworkExtension\n\nfinal class SimulatorTunnelProviderSession: SimulatorVPNConnection, VPNTu... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\SimulatorTunnelProvider\SimulatorTunnelInfo.swift | SimulatorTunnelInfo.swift | Swift | 1,570 | 0.95 | 0.070175 | 0.444444 | react-lib | 263 | 2025-06-20T02:00:35.917256 | BSD-3-Clause | false | ce0ac35e31be55c60c7cd4c96df050ca |
//\n// SimulatorTunnelProvider.swift\n// MullvadVPN\n//\n// Created by pronebird on 05/02/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport NetworkExtension\n\n#if targetEnvironment(simulator)\n\nclass SimulatorTunnelProviderDelegate {\n var connection: SimulatorVPN... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\SimulatorTunnelProvider\SimulatorTunnelProvider.swift | SimulatorTunnelProvider.swift | Swift | 1,741 | 0.95 | 0.042857 | 0.163636 | vue-tools | 180 | 2024-09-18T03:26:37.191951 | BSD-3-Clause | false | 49c524b71e2f326e685a26b58f0262ab |
//\n// SimulatorTunnelProviderHost.swift\n// MullvadVPN\n//\n// Created by pronebird on 10/02/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n#if targetEnvironment(simulator)\n\n@preconcurrency import Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport Mullva... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\SimulatorTunnelProvider\SimulatorTunnelProviderHost.swift | SimulatorTunnelProviderHost.swift | Swift | 7,582 | 0.95 | 0.100437 | 0.045685 | node-utils | 810 | 2024-07-16T09:36:04.750744 | Apache-2.0 | false | 0114f14ebd7fef82d409eed372db1add |
//\n// SimulatorTunnelProviderManager.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-09-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n#if targetEnvironment(simulator)\n\nimport Foundation\nimport NetworkExtension\n\nfinal class SimulatorTunnelProviderManager: NSObject, VPNTunne... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\SimulatorTunnelProvider\SimulatorTunnelProviderManager.swift | SimulatorTunnelProviderManager.swift | Swift | 4,374 | 0.95 | 0.027933 | 0.06338 | awesome-app | 201 | 2025-06-18T21:28:08.617225 | MIT | false | 870d9c3e336971a08b8ef25b459033d2 |
//\n// SimulatorVPNConnection.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-09-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n#if targetEnvironment(simulator)\n\nimport Foundation\nimport MullvadREST\nimport NetworkExtension\n\nclass SimulatorVPNConnection: NSObject, VPNConnect... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\SimulatorTunnelProvider\SimulatorVPNConnection.swift | SimulatorVPNConnection.swift | Swift | 3,139 | 0.95 | 0.07377 | 0.132653 | awesome-app | 364 | 2023-09-05T02:00:41.703093 | GPL-3.0 | false | 0146d97778c95f0469f2ad47de92886c |
//\n// SendStoreReceiptOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 29/03/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadTypes\nimport Operations\nimport StoreKit\n\nclass SendStoreReceiptOperation:... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\StorePaymentManager\SendStoreReceiptOperation.swift | SendStoreReceiptOperation.swift | Swift | 5,175 | 0.95 | 0.076923 | 0.082759 | awesome-app | 353 | 2025-02-23T09:23:51.299998 | BSD-3-Clause | false | fecb1157be4607c9e79dcf20257edc17 |
//\n// StorePaymentBlockObserver.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 StorePaymentBlockObserver: StorePaymentObserver {\n typealias BlockHandler = @Sendable (StorePaymentManager, StorePay... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\StorePaymentManager\StorePaymentBlockObserver.swift | StorePaymentBlockObserver.swift | Swift | 645 | 0.95 | 0.038462 | 0.333333 | awesome-app | 49 | 2024-02-23T17:33:22.854673 | GPL-3.0 | false | 08918e71044a6f1a1ccab8a370646006 |
//\n// StorePaymentEvent.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\n@preconcurrency import StoreKit\n\n/// The payment event received by observers implementing ``StorePaymentObserver``.\nenu... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\StorePaymentManager\StorePaymentEvent.swift | StorePaymentEvent.swift | Swift | 1,847 | 0.95 | 0.05 | 0.469388 | node-utils | 902 | 2024-05-07T20:34:18.166741 | BSD-3-Clause | false | 9fd19729640d49485bd73dde3a6e3c83 |
//\n// StorePaymentManager.swift\n// MullvadVPN\n//\n// Created by pronebird on 10/03/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadLogging\nimport MullvadREST\nimport MullvadTypes\nimport Operations\n@preconcurrency import StoreKit\nimport UIKit\n\n/// Manager responsible for... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\StorePaymentManager\StorePaymentManager.swift | StorePaymentManager.swift | Swift | 18,264 | 0.95 | 0.03913 | 0.30179 | awesome-app | 137 | 2024-05-07T18:55:17.359490 | MIT | false | 5d0e0ab8263d530d96163c8191f0f8f9 |
//\n// StorePaymentManagerDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 03/09/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport StoreKit\n\nprotocol StorePaymentManagerDelegate: AnyObject, Sendable {\n /// Return the account number associated with th... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\StorePaymentManager\StorePaymentManagerDelegate.swift | StorePaymentManagerDelegate.swift | Swift | 532 | 0.95 | 0.0625 | 0.642857 | python-kit | 720 | 2024-11-08T03:47:02.777893 | Apache-2.0 | false | c94874951c10f0ee8055304057ba4186 |
//\n// StorePaymentManagerError.swift\n// MullvadVPN\n//\n// Created by pronebird on 08/09/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\n\n/// An error type emitted by `StorePaymentManager`.\nenum StorePaymentManagerError: Localize... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\StorePaymentManager\StorePaymentManagerError.swift | StorePaymentManagerError.swift | Swift | 1,594 | 0.95 | 0.033898 | 0.254902 | awesome-app | 784 | 2024-05-11T18:26:44.604416 | GPL-3.0 | false | ccf370e096520eeb283fde572baa6b5a |
//\n// StorePaymentObserver.swift\n// MullvadVPN\n//\n// Created by pronebird on 03/09/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nprotocol StorePaymentObserver: AnyObject, Sendable {\n func storePaymentManager(\n _ manager: StorePaymentManager,\n did... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\StorePaymentManager\StorePaymentObserver.swift | StorePaymentObserver.swift | Swift | 354 | 0.95 | 0 | 0.5 | python-kit | 156 | 2024-01-16T15:56:59.967176 | Apache-2.0 | false | 837e594cab30f303be3b26808562ccc1 |
//\n// StoreSubscription.swift\n// MullvadVPN\n//\n// Created by pronebird on 03/09/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport StoreKit\n\nenum StoreSubscription: String, CaseIterable {\n /// Thirty days non-renewable subscription\n case thirtyDays = "net.... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\StorePaymentManager\StoreSubscription.swift | StoreSubscription.swift | Swift | 1,415 | 0.95 | 0.019608 | 0.173913 | node-utils | 906 | 2024-11-21T09:12:41.651708 | GPL-3.0 | false | cc769409c89fc6b87f0ca73ace7eae96 |
//\n// StoreTransactionLog.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/10/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\n\n/// Transaction log responsible for storing and querying processed transactions.\n///\n/// This class is thread saf... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\StorePaymentManager\StoreTransactionLog.swift | StoreTransactionLog.swift | Swift | 6,031 | 0.95 | 0.142857 | 0.326241 | vue-tools | 520 | 2024-09-13T14:22:40.738315 | MIT | false | 562c4ec1128b0b0cf39e3163e1195f35 |
//\n// PacketTunnelTransport.swift\n// MullvadVPN\n//\n// Created by Sajad Vishkai on 2022-10-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadRustRuntime\nimport MullvadTypes\nimport Operations\nimport PacketTunnelCore\n\nstruct PacketTunnelT... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TransportMonitor\PacketTunnelTransport.swift | PacketTunnelTransport.swift | Swift | 2,596 | 0.95 | 0.031579 | 0.1 | vue-tools | 326 | 2025-06-04T06:50:00.100428 | GPL-3.0 | false | 3d2acc067d5b1a08b31b0c981c566476 |
//\n// TransportMonitor.swift\n// MullvadVPN\n//\n// Created by Sajad Vishkai on 2022-10-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadTypes\n\nfinal class TransportMonitor: RESTTransportProvider {\n private let tu... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TransportMonitor\TransportMonitor.swift | TransportMonitor.swift | Swift | 3,282 | 0.95 | 0.097087 | 0.174419 | node-utils | 800 | 2024-09-15T18:01:26.294325 | MIT | false | 6da1babc05030b032ca4d7abf4bcf054 |
//\n// BackgroundTaskProvider.swift\n// MullvadVPN\n//\n// Created by Marco Nikic on 2023-10-02.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n#if canImport(UIKit)\n\nimport Foundation\nimport UIKit\n\n@available(iOSApplicationExtension, unavailable)\npublic protocol BackgroundTaskProviding: Send... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\BackgroundTaskProvider.swift | BackgroundTaskProvider.swift | Swift | 1,509 | 0.95 | 0.043478 | 0.236842 | awesome-app | 921 | 2023-12-12T01:01:51.570811 | BSD-3-Clause | false | 3034ef3d3855effa72c008d3f534ffb0 |
//\n// LoadTunnelConfigurationOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 16/12/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadSettings\nimport MullvadTypes\nimport Operations\n\nclass LoadTunnelConfigurationOperation... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\LoadTunnelConfigurationOperation.swift | LoadTunnelConfigurationOperation.swift | Swift | 3,227 | 0.95 | 0.072165 | 0.0875 | awesome-app | 689 | 2023-12-13T09:31:09.530987 | BSD-3-Clause | false | e39a53455cf816bcb95261c870fd994e |
//\n// MapConnectionStatusOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 15/12/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadTypes\nimport NetworkExtension\nimport Operations\nimport PacketTunnelCore... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\MapConnectionStatusOperation.swift | MapConnectionStatusOperation.swift | Swift | 6,567 | 0.95 | 0.054945 | 0.056962 | node-utils | 312 | 2025-02-14T16:44:40.213723 | MIT | false | fa4d0262706cd5b641da11cba048d2b6 |
//\n// RedeemVoucherOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 29/03/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Operations\n\nclass RedeemVoucherOperation... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\RedeemVoucherOperation.swift | RedeemVoucherOperation.swift | Swift | 2,436 | 0.95 | 0.02381 | 0.1 | vue-tools | 436 | 2024-10-29T17:58:25.328496 | BSD-3-Clause | false | 77d9904d8be9fd308ec381e8c095ed2e |
//\n// RotateKeyOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 15/12/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Operations\nimport WireGuardKitTypes\n\nclass ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\RotateKeyOperation.swift | RotateKeyOperation.swift | Swift | 3,662 | 0.95 | 0.045872 | 0.179775 | awesome-app | 397 | 2024-05-11T23:37:13.132341 | GPL-3.0 | false | 23899ee31bff27a1246eeef960106366 |
//\n// SetAccountOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 16/12/2021.\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 WireGuardK... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\SetAccountOperation.swift | SetAccountOperation.swift | Swift | 16,011 | 0.95 | 0.05 | 0.127937 | python-kit | 114 | 2023-09-22T01:15:29.896163 | MIT | false | ec9da7f0b8d291e7a930a7f65d0cd05b |
//\n// StartTunnelOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 15/12/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport NetworkExtension\nimport Operations\nimport PacketTunnelCore\n\nc... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\StartTunnelOperation.swift | StartTunnelOperation.swift | Swift | 3,779 | 0.95 | 0.075 | 0.068627 | react-lib | 297 | 2023-12-01T11:57:03.027045 | BSD-3-Clause | false | 9b3629f85d16604c58c74844e7ab836a |
//\n// StopTunnelOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 15/12/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Operations\n\nclass StopTunnelOperation: ResultOperation<Void>, @unchecked Sendable {\n private let interactor: TunnelInteractor\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\StopTunnelOperation.swift | StopTunnelOperation.swift | Swift | 1,892 | 0.95 | 0.044776 | 0.125 | node-utils | 43 | 2023-08-15T07:53:26.457743 | GPL-3.0 | false | 1b6dc9f0d1f1b59f22ea2cc73968e178 |
//\n// Tunnel+Messaging.swift\n// MullvadVPN\n//\n// Created by pronebird on 16/09/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\nimport Operations\nimport PacketTunnelCore\n\n/// Shared operation queue used for IPC requests.\npriva... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\Tunnel+Messaging.swift | Tunnel+Messaging.swift | Swift | 5,804 | 0.95 | 0.046512 | 0.103448 | react-lib | 550 | 2024-06-27T11:21:01.352317 | GPL-3.0 | false | 812d9791db6efe11f8065cd0af01f3a5 |
//\n// Tunnel.swift\n// MullvadVPN\n//\n// Created by pronebird on 25/02/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport NetworkExtension\n\n// Switch to stabs on simulator\n#if targetEnvironment(simulator)\ntypealias TunnelProviderManagerType = ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\Tunnel.swift | Tunnel.swift | Swift | 7,273 | 0.95 | 0.069565 | 0.163043 | awesome-app | 543 | 2024-03-03T09:11:03.970483 | MIT | false | 490d0b76a0cd43e5e362e7adbce16d02 |
//\n// TunnelBlockObserver.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 MullvadSettings\n\nfinal class TunnelBlockObserver: TunnelObserver, @unchecked Sendable {\n typealias DidLoadConfigurationHandler ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelBlockObserver.swift | TunnelBlockObserver.swift | Swift | 2,568 | 0.95 | 0.015152 | 0.122807 | python-kit | 389 | 2024-01-16T13:34:48.241584 | GPL-3.0 | false | 269fe19370140c7b7d03e59ed0063147 |
//\n// TunnelConfiguration.swift\n// MullvadVPN\n//\n// Created by pronebird on 07/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport NetworkExtension\n\nstruct TunnelConfiguration {\n var isEnabled: Bool\n var localizedDescription: String\n var protocolConf... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelConfiguration.swift | TunnelConfiguration.swift | Swift | 1,508 | 0.95 | 0.022222 | 0.230769 | node-utils | 702 | 2024-09-06T02:09:41.212656 | MIT | false | 3ced0280dd1c78fc7e2474681b6a816b |
//\n// TunnelInteractor.swift\n// MullvadVPN\n//\n// Created by pronebird on 05/07/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport PacketTunnelCore\n\nprotocol TunnelInteractor {\n // MARK: - Tunnel ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelInteractor.swift | TunnelInteractor.swift | Swift | 1,336 | 0.95 | 0 | 0.285714 | node-utils | 961 | 2023-08-04T16:57:51.527783 | BSD-3-Clause | false | f0320c3ddb6465bfd3a0775fcd691c77 |
//\n// TunnelManager.swift\n// MullvadVPN\n//\n// Created by pronebird on 25/09/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport NetworkExtension\nimport Operations\nimport PacketT... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelManager.swift | TunnelManager.swift | Swift | 41,794 | 0.95 | 0.052632 | 0.059273 | react-lib | 107 | 2025-02-23T19:14:30.844127 | MIT | false | 3585929433510c066bf8c8d343d237e8 |
//\n// TunnelManagerErrors.swift\n// MullvadVPN\n//\n// Created by pronebird on 07/09/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\nstruct UnsetTunnelError: LocalizedError {\n var errorDescription: String? {\n NSLocalizedString(\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelManagerErrors.swift | TunnelManagerErrors.swift | Swift | 1,689 | 0.95 | 0 | 0.111111 | node-utils | 162 | 2024-02-26T15:41:58.964307 | MIT | false | 7c2caeb6091a4593293af32fd5bb0874 |
//\n// TunnelObserver.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/08/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nprotocol TunnelObserver: AnyObject, Sendable {\n func tunnelManagerDidLoadConfiguration(_ manager: TunnelManager)\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelObserver.swift | TunnelObserver.swift | Swift | 759 | 0.95 | 0 | 0.35 | node-utils | 722 | 2024-08-29T21:02:54.161172 | MIT | false | 8755ad22be674961d332574997b67c7e |
//\n// TunnelState+UI.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-05-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nextension TunnelState {\n enum TunnelControlActionButton {\n case connect\n case disconnect\n case cancel\n }\n\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelState+UI.swift | TunnelState+UI.swift | Swift | 10,341 | 0.95 | 0.037618 | 0.024476 | node-utils | 885 | 2023-07-22T01:08:21.163422 | MIT | false | 392e58813b3825729e3f6cf477f55549 |
//\n// TunnelState.swift\n// TunnelState\n//\n// Created by pronebird on 11/08/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\nimport PacketTunnelCore\n@preconcurrency import WireGuardKitTypes\n\n/// A struct describing the tunnel st... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelState.swift | TunnelState.swift | Swift | 6,381 | 0.95 | 0.061538 | 0.188235 | react-lib | 160 | 2024-04-17T08:27:10.350700 | MIT | false | aa7ee342a4192733b668aa57496da43b |
//\n// TunnelStatusBlockObserver.swift\n// MullvadVPN\n//\n// Created by Marco Nikic on 2023-10-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport NetworkExtension\n\nfinal class TunnelStatusBlockObserver: TunnelStatusObserver, @unchecked Sendable {\n typealias Handler... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelStatusBlockObserver.swift | TunnelStatusBlockObserver.swift | Swift | 1,030 | 0.95 | 0.05 | 0.212121 | python-kit | 670 | 2025-04-03T14:19:25.777224 | Apache-2.0 | false | 0829642551a2a9dccd56a44cae5133b0 |
//\n// TunnelStore.swift\n// MullvadVPN\n//\n// Created by pronebird on 07/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadTypes\nimport NetworkExtension\nimport UIKit\n\nprotocol TunnelStoreProtocol: Sendable {\n associatedtype Tu... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\TunnelStore.swift | TunnelStore.swift | Swift | 4,119 | 0.95 | 0.030303 | 0.105769 | react-lib | 585 | 2023-11-12T04:14:51.570278 | MIT | false | 46c6d8bee0beaf5a3a870ae732c75df0 |
//\n// UpdateAccountDataOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 12/05/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\nclass UpdateAccountDataO... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\UpdateAccountDataOperation.swift | UpdateAccountDataOperation.swift | Swift | 2,295 | 0.95 | 0.025316 | 0.106061 | node-utils | 67 | 2023-11-21T00:02:21.307653 | GPL-3.0 | false | 72b7b72609d974719a75dfc8eaf51b17 |
//\n// UpdateDeviceDataOperation.swift\n// MullvadVPN\n//\n// Created by pronebird on 13/05/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Operations\nimport WireGuardKitTypes\n\... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\UpdateDeviceDataOperation.swift | UpdateDeviceDataOperation.swift | Swift | 2,210 | 0.95 | 0.038462 | 0.107692 | vue-tools | 834 | 2024-10-31T08:38:02.241850 | MIT | false | 9ca6a33b8132c87cbd5f8be4e4808fc3 |
//\n// VPNConnectionProtocol.swift\n// MullvadVPN\n//\n// Created by Marco Nikic on 2023-09-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport NetworkExtension\n\nprotocol VPNTunnelProviderManagerProtocol: Equatable {\n associatedtype SelfType: VPNTunnelProviderManager... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\VPNConnectionProtocol.swift | VPNConnectionProtocol.swift | Swift | 1,467 | 0.95 | 0 | 0.2 | vue-tools | 935 | 2023-07-22T12:42:00.182863 | GPL-3.0 | false | bdefb7ccc3151190fa5b7932e28f4be6 |
//\n// WgKeyRotation.swift\n// MullvadVPN\n//\n// Created by pronebird on 24/05/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport MullvadTypes\n@preconcurrency import WireGuardKitTypes\n\n/**\n Implements manipulations related to marking the beg... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\TunnelManager\WgKeyRotation.swift | WgKeyRotation.swift | Swift | 5,572 | 0.95 | 0.093525 | 0.311927 | python-kit | 351 | 2024-06-10T14:09:21.735903 | GPL-3.0 | false | 4e4c6361ba7dbe684333841fdbdce87c |
//\n// UIColor+Palette.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\nextension UIColor {\n enum AccountTextField {\n enum NormalState {\n static let borderColor = secondaryColor\n stat... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\UI appearance\UIColor+Palette.swift | UIColor+Palette.swift | Swift | 6,266 | 0.95 | 0 | 0.089552 | python-kit | 841 | 2024-12-09T12:42:18.633302 | GPL-3.0 | false | 3120687fe4a64dfa4ea97670acb4d22d |
//\n// UIEdgeInsets+Extensions.swift\n// MullvadVPN\n//\n// Created by Marco Nikic on 2023-09-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport SwiftUI\nimport UIKit\n\nextension UIEdgeInsets {\n /// Returns directional edge insets mapping left edge to leading and right edge to trailing... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\UI appearance\UIEdgeInsets+Extensions.swift | UIEdgeInsets+Extensions.swift | Swift | 633 | 0.95 | 0 | 0.375 | node-utils | 665 | 2025-01-16T13:04:28.119498 | Apache-2.0 | false | f4c9abc12f467dee98fc51474c871b2b |
//\n// UIMetrics.swift\n// MullvadVPN\n//\n// Created by pronebird on 10/03/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\nimport SwiftUI\nimport UIKit\n\nenum UIMetrics {\n enum TableView {\n /// Height for separators between cells and/or sections.\n st... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\UI appearance\UIMetrics.swift | UIMetrics.swift | Swift | 8,174 | 0.95 | 0.044118 | 0.206061 | python-kit | 593 | 2024-09-13T14:06:56.989058 | GPL-3.0 | false | 61dc44786100c9b719923e5b2f11d568 |
//\n// AccountContentView.swift\n// MullvadVPN\n//\n// Created by pronebird on 08/07/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass AccountContentView: UIView {\n let purchaseButton: InAppPurchaseButton = {\n let button = InAppPurchaseButton()\n button.... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Account\AccountContentView.swift | AccountContentView.swift | Swift | 4,637 | 0.95 | 0.053333 | 0.067669 | react-lib | 704 | 2025-04-29T18:01:59.134294 | BSD-3-Clause | false | 23130e327c73fff8090cb2205f99f1c2 |
//\n// AccountDeviceRow.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-08-28.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass AccountDeviceRow: UIView {\n var deviceName: String? {\n didSet {\n deviceLabel.text = deviceName?.capitalized ?? ""\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Account\AccountDeviceRow.swift | AccountDeviceRow.swift | Swift | 2,699 | 0.95 | 0.034091 | 0.094595 | vue-tools | 612 | 2024-11-25T19:24:51.162638 | GPL-3.0 | false | f72e81e24d56a173bc981afac3c59aad |
//\n// AccountExpiryRow.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-08-28.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass AccountExpiryRow: UIView {\n var value: Date? {\n didSet {\n let expiry = value\n\n if let e... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Account\AccountExpiryRow.swift | AccountExpiryRow.swift | Swift | 3,541 | 0.95 | 0.039216 | 0.08046 | node-utils | 724 | 2023-09-21T14:55:57.492110 | MIT | false | 5c096d99caca66d629910d81954abd87 |
//\n// AccountInteractor.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\nimport MullvadTypes\nimport Operations\nimport StoreKit\n\nfinal class AccountInteractor: Sendable... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Account\AccountInteractor.swift | AccountInteractor.swift | Swift | 1,590 | 0.95 | 0.051724 | 0.148936 | vue-tools | 245 | 2023-11-29T06:40:36.647243 | BSD-3-Clause | false | 37fdd2c6ec05cf7059d3258f845a368d |
//\n// AccountNumberRow.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-08-28.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\nclass AccountNumberRow: UIView {\n var accountNumber: String? {\n didSet {\n updateView()\n }\n }\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Account\AccountNumberRow.swift | AccountNumberRow.swift | Swift | 7,603 | 0.95 | 0.051793 | 0.043062 | react-lib | 390 | 2024-05-02T13:10:21.555428 | MIT | false | 3b9755ba39c08e41cf0f426db714c805 |
//\n// AccountViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 20/03/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Operations\nimport StoreKit\nimport UIKit\n\nenum AccountViewC... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Account\AccountViewController.swift | AccountViewController.swift | Swift | 10,326 | 0.95 | 0.069182 | 0.03876 | node-utils | 144 | 2024-11-04T06:42:41.266006 | BSD-3-Clause | false | c7facbe440994a383a74a3c478f59053 |
//\n// PaymentErrorPresenter.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-05-30.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport Routing\n\n@MainActor\nstruct PaymentAlertPresenter {\n let alertContext: any Presenting\n\n func showAlertForRefund(com... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Account\PaymentAlertPresenter.swift | PaymentAlertPresenter.swift | Swift | 4,113 | 0.95 | 0 | 0.058824 | vue-tools | 41 | 2023-10-29T03:36:54.867429 | GPL-3.0 | false | 79f93427b370c93eb79f965081305ab2 |
//\n// PaymentState.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 StoreKit\n\nenum PaymentState: Equatable {\n case none\n case makingPayment(SKPayment)\n case makingStoreKit2Purchase\n case mak... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Account\PaymentState.swift | PaymentState.swift | Swift | 601 | 0.95 | 0.037037 | 0.291667 | react-lib | 313 | 2023-11-21T02:31:58.676722 | BSD-3-Clause | false | 0c7208f6c0a4c65f2ed4ab263d375713 |
//\n// RestorePurchasesView.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-08-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass RestorePurchasesView: UIView {\n var restoreButtonAction: (() -> Void)?\n var infoButtonAction: (() -> Void)?\n\n private l... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\Account\RestorePurchasesView.swift | RestorePurchasesView.swift | Swift | 2,711 | 0.95 | 0.035294 | 0.097222 | react-lib | 978 | 2024-10-04T00:35:32.017616 | BSD-3-Clause | false | 193178d4b12562e671b8ea60cf8ef8ac |
//\n// AccountDeletionContentView.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-07-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport UIKit\n\nprotocol AccountDeletionContentViewDelegate: AnyObject {\n func didTapDeleteButton(contentView: AccountDeletionConte... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\AccountDeletion\AccountDeletionContentView.swift | AccountDeletionContentView.swift | Swift | 12,765 | 0.95 | 0.048718 | 0.020115 | python-kit | 592 | 2025-05-24T18:43:09.061343 | BSD-3-Clause | false | 485c5c2f54bc811aa15216eac8e33a3c |
//\n// AccountDeletionInteractor.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\nimport MullvadREST\nimport MullvadTypes\n\nenum AccountDeletionError: LocalizedError {\n case invalidInput\n\n var errorDescription... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\AccountDeletion\AccountDeletionInteractor.swift | AccountDeletionInteractor.swift | Swift | 1,532 | 0.95 | 0.074074 | 0.148936 | vue-tools | 524 | 2024-01-14T15:07:55.698423 | Apache-2.0 | false | 1499c3aadfcfe7d9be3f642b0e7f0b55 |
//\n// AccountDeletionViewController.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-07-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\nimport UIKit\n\nprotocol AccountDeletionViewControllerDelegate: AnyObject {\n func deleteAccountDidSucceed(controller: AccountDe... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\View controllers\AccountDeletion\AccountDeletionViewController.swift | AccountDeletionViewController.swift | Swift | 2,973 | 0.95 | 0.042553 | 0.0875 | python-kit | 865 | 2024-07-04T01:26:54.093145 | MIT | false | bd9380a401fc2175ee67e1aa3e6dd3d7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.