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// TunnelSettingsStrategy.swift\n// MullvadSettings\n//\n// Created by Mojgan on 2024-08-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\npublic protocol TunnelSettingsStrategyProtocol: Sendable {\n func shouldReconnectToNewRelay(oldSettings: LatestTunnelSettings, newSe...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\TunnelSettingsStrategy.swift
TunnelSettingsStrategy.swift
Swift
1,808
0.95
0.036364
0.2
vue-tools
644
2025-01-20T03:42:58.236770
BSD-3-Clause
false
9720f5b54795a0b619aa45740a82626a
//\n// TunnelSettingsUpdate.swift\n// MullvadSettings\n//\n// Created by Andrew Bulhak on 2024-02-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\npublic enum TunnelSettingsUpdate: Sendable {\n case localNetworkSharing(Bool)\n case includeAllNetwor...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\TunnelSettingsUpdate.swift
TunnelSettingsUpdate.swift
Swift
1,994
0.95
0.035088
0.132075
awesome-app
198
2023-08-24T11:24:46.630179
BSD-3-Clause
false
9281b79e5b4fd5d217bfa8b630015d16
//\n// TunnelSettingsV1.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/06/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport Network\nimport WireGuardKitTypes\n\n/// A struct that holds the configuration passed via `NETunnelProviderProtocol...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\TunnelSettingsV1.swift
TunnelSettingsV1.swift
Swift
3,343
0.95
0.087379
0.202381
python-kit
229
2025-06-08T04:30:57.746417
BSD-3-Clause
false
53dd2aff244f05fe124f162032ff2c98
//\n// TunnelSettingsV2.swift\n// MullvadVPN\n//\n// Created by pronebird on 27/04/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\npublic struct TunnelSettingsV2: Codable, Equatable, TunnelSettings {\n /// Relay constraints.\n public var relayCo...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\TunnelSettingsV2.swift
TunnelSettingsV2.swift
Swift
892
0.95
0
0.310345
react-lib
909
2025-05-21T22:32:38.566418
Apache-2.0
false
1545bef66287a9521d852551c2afba2c
//\n// TunnelSettingsV3.swift\n// MullvadVPN\n//\n// Created by Marco Nikic on 2023-10-17.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\npublic struct TunnelSettingsV3: Codable, Equatable, TunnelSettings {\n /// Relay constraints.\n public var relay...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\TunnelSettingsV3.swift
TunnelSettingsV3.swift
Swift
1,189
0.95
0
0.294118
vue-tools
477
2024-06-26T00:30:11.849341
MIT
false
1c33dc04242054f6a60aa5445c338251
//\n// TunnelSettingsV4.swift\n// MullvadSettings\n//\n// Created by Marco Nikic on 2024-02-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\npublic struct TunnelSettingsV4: Codable, Equatable, TunnelSettings {\n /// Relay constraints.\n public var ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\TunnelSettingsV4.swift
TunnelSettingsV4.swift
Swift
1,497
0.95
0
0.282051
react-lib
486
2024-09-08T15:49:30.913094
GPL-3.0
false
bade878dba773624ddb6eba4b2960818
//\n// TunnelSettingsV5.swift\n// MullvadSettings\n//\n// Created by Mojgan on 2024-05-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\npublic struct TunnelSettingsV5: Codable, Equatable, TunnelSettings {\n /// Relay constraints.\n public var relay...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\TunnelSettingsV5.swift
TunnelSettingsV5.swift
Swift
1,739
0.95
0
0.272727
python-kit
772
2025-05-31T07:58:26.321530
Apache-2.0
false
131ade5f04aef8d6ad906f6a93afa929
//\n// TunnelSettingsV6.swift\n// MullvadSettings\n//\n// Created by Mojgan on 2024-08-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\npublic struct TunnelSettingsV6: Codable, Equatable, TunnelSettings, Sendable {\n /// Relay constraints.\n public...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\TunnelSettingsV6.swift
TunnelSettingsV6.swift
Swift
1,952
0.95
0
0.26
react-lib
917
2025-03-31T17:20:06.469114
Apache-2.0
false
23b03a4664ea8dfe96857933e9792a59
//\n// TunnelSettingsV6 2.swift\n// MullvadVPN\n//\n// Created by Steffen Ernst on 2025-02-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\npublic struct TunnelSettingsV7: Codable, Equatable, TunnelSettings, Sendable {\n /// Relay constraints.\n pu...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\TunnelSettingsV7.swift
TunnelSettingsV7.swift
Swift
1,946
0.95
0
0.306122
vue-tools
582
2023-07-25T16:03:31.382745
MIT
false
d800ac7d9064e4840e1f504a7d86a509
//\n// WireGuardObfuscationSettings.swift\n// MullvadVPN\n//\n// Created by Marco Nikic on 2023-10-17.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Whether obfuscation is enabled and which method is used.\n///\n/// `.automatic` means an algorithm will decide whether to u...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadSettings\WireGuardObfuscationSettings.swift
WireGuardObfuscationSettings.swift
Swift
5,109
0.95
0.08284
0.080537
awesome-app
98
2024-08-15T05:46:26.500357
MIT
false
7118a8cb627dbddd78b86c02175f817d
//\n// AnyIPAddress.swift\n// MullvadTypes\n//\n// Created by pronebird on 05/10/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\n/// Container type that holds either `IPv4Address` or `IPv6Address`.\npublic enum AnyIPAddress: IPAddress, Codable, Equatable, ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\AnyIPAddress.swift
AnyIPAddress.swift
Swift
3,041
0.95
0.12844
0.108696
node-utils
604
2024-01-15T18:55:18.198358
Apache-2.0
false
9cb120e771fd49482cd2b3152a3641c4
//\n// AnyIPEndpoint.swift\n// MullvadTypes\n//\n// Created by pronebird on 20/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport protocol Network.IPAddress\n\npublic enum AnyIPEndpoint: Hashable, Equatable, Codable, CustomStringConvertible, @unchecked Sendable {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\AnyIPEndpoint.swift
AnyIPEndpoint.swift
Swift
2,433
0.95
0.126437
0.094595
vue-tools
994
2023-10-12T18:30:48.150574
Apache-2.0
false
925e23f4a18278154312a5daf3b725b7
//\n// Cancellable.swift\n// MullvadTypes\n//\n// Created by pronebird on 15/03/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic protocol Cancellable {\n func cancel()\n}\n\nextension Operation: Cancellable {}\n\n/// An object representing a cancellation token.\n...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Cancellable.swift
Cancellable.swift
Swift
676
0.95
0.029412
0.37037
python-kit
206
2024-07-11T00:00:21.508805
BSD-3-Clause
false
cb437723dcf1436dc61111bf33dc6eda
//\n// CustomErrorDescription.swift\n// MullvadTypes\n//\n// Created by pronebird on 23/09/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// A protocol providing error a way to override error description when printing error chain.\npublic protocol CustomErrorDescription...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\CustomErrorDescriptionProtocol.swift
CustomErrorDescriptionProtocol.swift
Swift
471
0.95
0
0.692308
node-utils
397
2024-02-21T19:16:14.697835
Apache-2.0
false
1e6e17b6b02b8a9ccbbcf8403a9ce4be
//\n// DisplayError.swift\n// MullvadTypes\n//\n// Created by pronebird on 17/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// A protocol that adds a formal interface for all errors displayed in user interface.\n///\n/// This protocol is meant to be used in place of...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\DisplayError.swift
DisplayError.swift
Swift
767
0.95
0.047619
0.789474
node-utils
647
2024-11-05T21:59:19.640020
GPL-3.0
false
a13b2015bf4a302606c447a6c5589013
//\n// Duration+Extensions.swift\n// MullvadTypes\n//\n// Created by Jon Petersson on 2023-08-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n// Extends Duration with convenience accessors and functions.\nextension Duration {\n public var isFinite: Bool {\n return...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Duration+Extensions.swift
Duration+Extensions.swift
Swift
2,414
0.95
0
0.145161
vue-tools
234
2025-04-16T06:12:16.021210
GPL-3.0
false
1c6c395af303a1684aa714888385d584
//\n// Duration.swift\n// MullvadTypes\n//\n// Created by Jon Petersson on 2023-08-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Custom implementation of iOS native `Duration` (available from iOS16). Meant as a\n/// drop-in replacement until the app supports iOS16. Id...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Duration.swift
Duration.swift
Swift
2,869
0.95
0.010753
0.136986
node-utils
317
2025-06-05T14:46:31.357924
MIT
false
b96aa94b7e0be67cca8255fe85142866
//\n// Error+Chain.swift\n// MullvadTypes\n//\n// Created by pronebird on 23/09/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension Error {\n /// Returns a flat list of errors by unrolling the underlying error chain.\n public var underlyingErrorChain: [Error] ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Error+Chain.swift
Error+Chain.swift
Swift
1,220
0.95
0.045455
0.228571
node-utils
397
2023-12-02T22:45:11.967191
BSD-3-Clause
false
8226811cbdba4274bc421b2706f57584
//\n// FileCache.swift\n// MullvadTypes\n//\n// Created by Marco Nikic on 2023-05-30.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// File cache implementation that can read and write any `Codable` content and uses file coordinator to coordinate I/O.\npublic struct FileCach...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\FileCache.swift
FileCache.swift
Swift
1,630
0.95
0.12
0.225
awesome-app
84
2024-06-18T14:20:16.434813
Apache-2.0
false
d3b0f375601615ab36b1fa641147a356
//\n// FixedWidthInteger+Arithmetics.swift\n// PacketTunnel\n//\n// Created by pronebird on 28/08/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension FixedWidthInteger {\n /// Saturating integer multiplication. Computes `self * rhs`, saturating at the numeric bou...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\FixedWidthInteger+Arithmetics.swift
FixedWidthInteger+Arithmetics.swift
Swift
2,045
0.95
0.092308
0.267857
vue-tools
236
2023-07-16T10:47:37.699391
Apache-2.0
false
baa725026f1940d2e71f4879c0f02837
//\n// IPAddress+Codable.swift\n// MullvadTypes\n//\n// Created by pronebird on 12/06/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Network\n\nextension IPv4Address: Codable {\n public init(from decoder: Decoder) throws {\n let container = try decoder.singleValueContainer()...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\IPAddress+Codable.swift
IPAddress+Codable.swift
Swift
1,453
0.95
0.150943
0.159091
awesome-app
822
2023-08-03T01:06:43.006827
Apache-2.0
false
4e9513decc199a0f3a152822830b05a3
//\n// IPEndpoint.swift\n// MullvadTypes\n//\n// Created by pronebird on 06/12/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\npublic struct IPv4Endpoint: Hashable, Equatable, Codable, CustomStringConvertible, Sendable {\n public let ip: IPv4Address\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\IPv4Endpoint.swift
IPv4Endpoint.swift
Swift
1,714
0.95
0.078125
0.132075
python-kit
822
2024-12-06T09:19:37.766940
BSD-3-Clause
false
8d51b75435e9b89ab76b1f2e897e0c9a
//\n// IPv6Endpoint.swift\n// MullvadTypes\n//\n// Created by pronebird on 20/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\npublic struct IPv6Endpoint: Hashable, Equatable, Codable, CustomStringConvertible, Sendable {\n public let ip: IPv6Address\n...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\IPv6Endpoint.swift
IPv6Endpoint.swift
Swift
1,993
0.95
0.070423
0.122807
node-utils
42
2024-11-24T12:59:44.608769
MIT
false
6a3b6c0af11878a2bcdc6fff0828ceb3
//\n// KeychainError.swift\n// MullvadVPN\n//\n// Created by pronebird on 02/10/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Security\n\npublic struct KeychainError: LocalizedError, Equatable {\n public let code: OSStatus\n public init(code: OSStatus) {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\KeychainError.swift
KeychainError.swift
Swift
808
0.95
0
0.291667
node-utils
118
2024-09-01T15:20:00.745454
Apache-2.0
false
b5fa961d87e28f6c99c45853c13e7e41
//\n// LocalNetworkIPs.swift\n// MullvadTypes\n//\n// Created by Mojgan on 2024-07-26.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic enum LocalNetworkIPs: String {\n case gatewayAddress = "10.64.0.1"\n case defaultRouteIpV4 = "0.0.0.0"\n case defaultRouteIpV6 ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\LocalNetworkIPs.swift
LocalNetworkIPs.swift
Swift
317
0.95
0
0.538462
awesome-app
589
2024-05-22T00:10:41.005311
MIT
false
74e146b943509c843a22d67a2f80d857
//\n// Location.swift\n// MullvadTypes\n//\n// Created by pronebird on 12/02/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport CoreLocation\nimport Foundation\n\npublic struct Location: Codable, Equatable, Sendable {\n public var country: String\n public var countryCode: String\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Location.swift
Location.swift
Swift
949
0.95
0
0.2
python-kit
126
2024-01-17T16:54:56.294622
BSD-3-Clause
false
4ce5f48655f746144cbaebab8155d031
//\n// MullvadEndpoint.swift\n// MullvadTypes\n//\n// Created by pronebird on 12/06/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\n/// Contains server data needed to connect to a single mullvad endpoint.\npublic struct MullvadEndpoint: Equatable, Codable,...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\MullvadEndpoint.swift
MullvadEndpoint.swift
Swift
1,172
0.95
0
0.205128
react-lib
581
2024-06-03T04:00:50.332921
Apache-2.0
false
404818c645582fd819ff2d9fad9762b7
//\n// NameInputFormatter.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-05-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\npublic struct NameInputFormatter {\n public static let maxLength = 30\n\n public static func format(_ string: String, maxLength: Int = Self.maxLength)...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\NameInputFormatter.swift
NameInputFormatter.swift
Swift
409
0.8
0
0.538462
awesome-app
191
2023-08-31T12:19:11.752892
Apache-2.0
false
3d7add7aec938780127b12a2e507fece
//\n// NewAccountData.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2025-04-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\npublic struct NewAccountData: Decodable, Sendable {\n public let id: String\n public let expiry: Date\n public let maxPorts: Int\n public let canAdd...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\NewAccountData.swift
NewAccountData.swift
Swift
851
0.8
0
0.212121
vue-tools
322
2023-07-29T06:12:06.062957
MIT
false
6cd9a7a4745ca786df3f69c8b1c62908
//\n// NSFileCoordinator+Extensions.swift\n// MullvadTypes\n//\n// Created by Marco Nikic on 2023-05-11.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension NSFileCoordinator {\n public func coordinate<R>(\n readingItemAt itemURL: URL,\n options: ReadingO...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\NSFileCoordinator+Extensions.swift
NSFileCoordinator+Extensions.swift
Swift
1,249
0.95
0.117647
0.162791
node-utils
893
2024-02-24T18:55:49.531763
MIT
false
7e03b7646c8520824153e717edb11252
//\n// ObserverList.swift\n// MullvadVPN\n//\n// Created by pronebird on 26/06/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic struct WeakBox<T>: Sendable {\n public var value: T? {\n valueProvider()\n }\n\n nonisolated(unsafe) private let valueProv...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\ObserverList.swift
ObserverList.swift
Swift
1,921
0.95
0.078652
0.104478
awesome-app
303
2025-02-13T04:40:11.924119
Apache-2.0
false
71b85d176d54df6a96b74d9d3fe46c77
//\n// Promise.swift\n// MullvadVPN\n//\n// Created by pronebird on 28/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic final class Promise<Success, Failure: Error>: @unchecked Sendable {\n public typealias Result = Swift.Result<Success, Failure>\n\n privat...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Promise.swift
Promise.swift
Swift
2,013
0.95
0.064935
0.169231
awesome-app
40
2024-04-14T13:49:12.137155
Apache-2.0
false
39c76617e42bd9c35d8987080bc1d6d1
//\n// RelayConstraint.swift\n// MullvadTypes\n//\n// Created by pronebird on 21/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nprivate let anyConstraint = "any"\n\npublic enum RelayConstraint<T>: Codable, Equatable, CustomDebugStringConvertible, Sendable\n where T...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\RelayConstraint.swift
RelayConstraint.swift
Swift
1,554
0.95
0.142857
0.132075
react-lib
811
2023-08-22T17:41:53.298423
GPL-3.0
false
829641352a0de236bc4c45ddd023b9c8
//\n// RelayConstraint.swift\n// MullvadTypes\n//\n// Created by pronebird on 10/06/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic struct RelayConstraints: Codable, Equatable, CustomDebugStringConvertible, @unchecked Sendable {\n @available(*, deprecated, renam...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\RelayConstraints.swift
RelayConstraints.swift
Swift
3,238
0.95
0.094118
0.183099
python-kit
664
2024-10-08T13:01:58.530931
MIT
false
780d0f324521d119fa480db08ededfa6
//\n// RelayFilter.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic struct RelayFilter: Codable, Equatable, Sendable {\n public enum Ownership: Codable, Sendable {\n case any\n case owne...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\RelayFilter.swift
RelayFilter.swift
Swift
596
0.95
0
0.333333
react-lib
280
2024-02-08T14:05:01.636589
MIT
false
7ebbf8db7649f8cab6ebe0f4d0c11084
//\n// RelayLocation.swift\n// MullvadTypes\n//\n// Created by pronebird on 21/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic enum RelayLocation: Codable, Hashable, CustomDebugStringConvertible, Sendable {\n case country(String)\n case city(String, String...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\RelayLocation.swift
RelayLocation.swift
Swift
4,366
0.95
0.076923
0.084746
node-utils
406
2025-05-06T07:30:19.287096
Apache-2.0
false
b45b6d40769945505d6030389d75a044
//\n// RESTTypes.swift\n// MullvadTypes\n//\n// Created by pronebird on 24/05/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n@preconcurrency import WireGuardKitTypes\n\npublic struct Account: Codable, Equatable, Sendable {\n public let id: String\n public let expiry:...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\RESTTypes.swift
RESTTypes.swift
Swift
1,897
0.95
0
0.111111
awesome-app
925
2025-06-11T01:15:46.417249
GPL-3.0
false
2d679aad1c821bf7cf7c75ca06e353e0
//\n// Result+Extensions.swift\n// MullvadVPN\n//\n// Created by pronebird on 15/03/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension Result {\n public var value: Success? {\n switch self {\n case let .success(value):\n return value\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Result+Extensions.swift
Result+Extensions.swift
Swift
1,385
0.95
0.109375
0.125
vue-tools
400
2023-07-27T21:34:46.091924
GPL-3.0
false
e47a7855eb65ecb5409d5d1a05bddb80
//\n// StringDecodingError.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-12-02.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\npublic struct StringDecodingError: LocalizedError {\n public let data: Data\n\n public init(data: Data) {\n self.data = data\n }\n\n public var...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\StringConversionError.swift
StringConversionError.swift
Swift
638
0.8
0
0.28
vue-tools
609
2024-05-15T20:26:23.704522
BSD-3-Clause
false
456cfb6a97887eff0a125c23189011f6
//\n// TransportLayer.swift\n// MullvadTypes\n//\n// Created by Marco Nikic on 2023-11-24.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic enum TransportLayer: Codable, Sendable {\n case udp\n case tcp\n}\n
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\TransportLayer.swift
TransportLayer.swift
Swift
248
0.95
0
0.583333
python-kit
144
2023-10-08T00:53:21.600073
GPL-3.0
false
cf730781ef894440d65c64bad5da4ee0
//\n// WrappingError.swift\n// MullvadTypes\n//\n// Created by pronebird on 23/09/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Protocol describing errors that may contain underlying errors.\npublic protocol WrappingError: Error {\n var underlyingError: Error? { ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\WrappingError.swift
WrappingError.swift
Swift
317
0.95
0
0.666667
vue-tools
354
2025-02-23T14:50:58.290332
MIT
false
143450cd9069293727137d6fee993000
//\n// DaitaV2Parameters.swift\n// MullvadTypes\n//\n// Created by Marco Nikic on 2024-11-12.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic struct DaitaV2Parameters: Equatable, Sendable {\n public let machines: String\n public let maximumEvents: UInt32\n publi...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Protocols\DaitaV2Parameters.swift
DaitaV2Parameters.swift
Swift
814
0.95
0
0.25
python-kit
506
2024-10-16T19:17:15.588431
Apache-2.0
false
bf047da35ac6e0f6843c18d4e6078b5f
//\n// PostQuantumKeyReceiver.swift\n// MullvadTypes\n//\n// Created by Marco Nikic on 2024-07-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport NetworkExtension\nimport WireGuardKitTypes\n\npublic class EphemeralPeerReceiver: EphemeralPeerReceiving, TunnelProvider {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Protocols\EphemeralPeerReceiver.swift
EphemeralPeerReceiver.swift
Swift
1,749
0.95
0.033333
0.156863
awesome-app
653
2024-08-16T05:37:44.505384
GPL-3.0
false
d57975f095580d6f3fb98d876d973139
//\n// EphemeralPeerReceiving.swift\n// MullvadTypes\n//\n// Created by Andrew Bulhak on 2024-03-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport WireGuardKitTypes\n\npublic protocol EphemeralPeerReceiving {\n /// Called when successfully requesting an ephemeral peer...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Protocols\EphemeralPeerReceiving.swift
EphemeralPeerReceiving.swift
Swift
1,126
0.95
0
0.72
react-lib
580
2024-06-06T10:10:46.001962
BSD-3-Clause
false
3ee92e1a4bf3e274c26123d5e0fed749
//\n// NetworkExtension+HiddenSymbols.swift\n// MullvadTypes\n//\n// Created by Marco Nikic on 2024-12-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport NetworkExtension\n\n#if swift(>=6)\n#if compiler(>=6)\npublic typealias NWTCPConnection = __NWTCPConnection\npublic ty...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Protocols\NetworkExtension+HiddenSymbols.swift
NetworkExtension+HiddenSymbols.swift
Swift
363
0.95
0.117647
0.733333
vue-tools
679
2025-03-10T18:49:07.200385
GPL-3.0
false
0e371a047bc5b1960541ba6906928e51
//\n// TunnelProvider.swift\n// MullvadTypes\n//\n// Created by Marco Nikic on 2024-07-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport NetworkExtension\n\npublic protocol TunnelProvider: AnyObject {\n func tunnelHandle() throws -> Int32\n func wgFunctions() -> Wg...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadTypes\Protocols\TunnelProvider.swift
TunnelProvider.swift
Swift
1,137
0.95
0
0.241379
react-lib
929
2023-11-06T16:44:22.906659
BSD-3-Clause
false
9fa6034635a11fb6519164db3db7c0c2
//\n// AppDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/03/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport BackgroundTasks\nimport MullvadLogging\nimport MullvadMockData\nimport MullvadREST\nimport MullvadRustRuntime\nimport MullvadSettings\nimport MullvadTypes\nimpo...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\AppDelegate.swift
AppDelegate.swift
Swift
25,154
0.95
0.043011
0.076782
node-utils
494
2024-08-02T03:41:01.953955
MIT
false
1ee837c6b990fbefc1bebde5ec0d2d98
//\n// BackgroundTask.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/06/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/**\n Background tasks defined by the app.\n\n When adding new background tasks, don't forget to update `BGTaskSchedulerPermittedIdentifiers` k...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\BackgroundTask.swift
BackgroundTask.swift
Swift
997
0.95
0.028571
0.392857
python-kit
777
2024-10-18T13:27:25.791285
Apache-2.0
false
30ff349e4c51aa39d552eaa4512a0857
//\n// SceneDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 20/05/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Operations\nimport UIKit\n\nclass SceneDelegate: UIResponder, UIWindow...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\SceneDelegate.swift
SceneDelegate.swift
Swift
8,589
0.95
0.035294
0.082126
vue-tools
479
2024-12-14T16:13:58.511162
MIT
false
234a9a2cfc4e48110b7b1d49288bc48d
//\n// LocalNetworkProbe.swift\n// MullvadVPN\n//\n// Created by Marco Nikic on 2024-01-25.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\nstruct LocalNetworkProbe {\n /// Does a best effort attempt to trigger the local network privacy alert.\n func trigg...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\AccessMethodRepository\LocalNetworkProbe.swift
LocalNetworkProbe.swift
Swift
854
0.95
0
0.32
python-kit
778
2024-02-08T20:24:42.196755
MIT
false
18b9f3b0e50edd7432d9adab791dec8e
//\n// AddressCacheTracker.swift\n// MullvadVPN\n//\n// Created by pronebird on 08/12/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadLogging\nimport MullvadREST\nimport MullvadTypes\nimport Operations\nimport UIKit\n\nfinal class AddressCacheTracker: @unchecked Sendable {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\AddressCacheTracker\AddressCacheTracker.swift
AddressCacheTracker.swift
Swift
5,222
0.95
0.021505
0.128571
node-utils
733
2023-12-11T00:02:49.008344
BSD-3-Clause
false
758779a18fade0d8f383de922c427291
//\n// AccessibilityIdentifier.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-12-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\npublic enum AccessibilityIdentifier: Equatable {\n // Buttons\n case addAccessMethodButton\n case accessMethodAddButton\n c...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\AccessbilityIdentifier.swift
AccessbilityIdentifier.swift
Swift
6,925
0.95
0
0.081897
node-utils
50
2024-07-28T16:06:51.800012
Apache-2.0
false
b1b6f90923dfa5a431d6454860d108cd
//\n// AccountDataThrottling.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/08/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\n/// Struct used for throttling UI calls to update account data via tunnel manager.\nstruct AccountDataThrottling {\...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\AccountDataThrottling.swift
AccountDataThrottling.swift
Swift
2,276
0.95
0.049383
0.206349
awesome-app
28
2024-12-15T23:19:11.571549
MIT
false
1f5859fb10feda77f70e8e984af5fc76
//\n// AppPreferences.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-08-09.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nprotocol AppPreferencesDataSource {\n var isShownOnboarding: Bool { get set }\n var isAgreedToTermsOfService: Bool {...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\AppPreferences.swift
AppPreferences.swift
Swift
926
0.95
0.032258
0.28
vue-tools
129
2023-07-16T22:32:46.361754
BSD-3-Clause
false
3bfe28fc1f819454b4c061e79e661d49
//\n// AppRoutes.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\nimport UIKit\n\n/**\n Enum type describing groups of routes.\n */\nenum AppRouteGroup: AppRouteGroupProtocol {\n /**\n Primary horizontal navigati...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\AppRoutes.swift
AppRoutes.swift
Swift
2,810
0.95
0.035211
0.311475
python-kit
416
2025-03-03T15:36:47.716672
Apache-2.0
false
e0510e6c7823f14d0c7d4ee86d01bcab
//\n// AutomaticKeyboardResponder.swift\n// MullvadVPN\n//\n// Created by pronebird on 24/03/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadLogging\nimport UIKit\n\n@MainActor\nclass AutomaticKeyboardResponder {\n weak var targetView: UIView?\n private let handler: (UIVie...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\AutomaticKeyboardResponder.swift
AutomaticKeyboardResponder.swift
Swift
4,572
0.95
0.042735
0.231579
react-lib
432
2024-07-09T19:05:52.787419
MIT
false
f616ad30c669f49bdaa749966a4439e9
//\n// ConsolidatedApplicationLog.swift\n// MullvadVPN\n//\n// Created by pronebird on 29/10/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nprivate let kLogDelimiter = "===================="\nprivate let kRedactedPlaceholder = "[REDACTED]"\nprivate let kRedactedAccountPl...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\ConsolidatedApplicationLog.swift
ConsolidatedApplicationLog.swift
Swift
8,041
0.95
0.041841
0.043062
vue-tools
213
2024-10-06T00:32:12.596995
GPL-3.0
false
53aadcae58deaeb24e8e5b0b081a760b
//\n// CustomDateComponentsFormatting.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/05/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum CustomDateComponentsFormatting {}\n\nextension CustomDateComponentsFormatting {\n /// Format a duration between the giv...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\CustomDateComponentsFormatting.swift
CustomDateComponentsFormatting.swift
Swift
1,817
0.95
0
0.333333
react-lib
419
2025-03-09T05:35:47.996896
GPL-3.0
false
fea255b8503c719cffd8b344d3534cfc
//\n// DeviceDataThrottling.swift\n// MullvadVPN\n//\n// Created by pronebird on 13/12/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\n/// Struct used for throttling UI calls to update device data via tunnel manager.\nstruct DeviceDataThrottling {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\DeviceDataThrottling.swift
DeviceDataThrottling.swift
Swift
1,410
0.95
0.035714
0.204545
python-kit
978
2023-10-17T16:32:08.113520
GPL-3.0
false
ab442a76997a7a4d92fd9742d5a982f5
//\n// FirstTimeLaunch.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 Foundation\n\nenum FirstTimeLaunch {\n private static let userDefaultsKey = "hasFinishedFirstTimeLaunch"\n\n static var hasFinished: Bool {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\FirstTimeLaunch.swift
FirstTimeLaunch.swift
Swift
477
0.95
0
0.411765
awesome-app
100
2025-06-29T03:08:51.559411
GPL-3.0
false
a5058fc2a62406b7b9da5b578dab34b6
//\n// InputTextFormatter.swift\n// MullvadVPN\n//\n// Created by pronebird on 08/04/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport UIKit\n\n/// A class describing the account token input and caret management.\n/// Suitable to be used with `UITextField`.\nclass Inpu...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\InputTextFormatter.swift
InputTextFormatter.swift
Swift
9,116
0.95
0.068966
0.216346
node-utils
306
2023-09-08T22:54:28.000091
GPL-3.0
false
3d38a46664512a1f9e3b0466f88e90f3
//\n// InterceptibleNavigationController.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-04-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass InterceptibleNavigationController: CustomNavigationController {\n var shouldPopViewController: ((UIViewController) -...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\InterceptibleNavigationController.swift
InterceptibleNavigationController.swift
Swift
1,395
0.95
0.078947
0.333333
react-lib
458
2024-08-21T18:36:59.458899
Apache-2.0
false
87eb22cb70a73333b88a730c186084de
//\n// MarkdownStylingOptions.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-29.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nstruct MarkdownStylingOptions {\n var font: UIFont\n var paragraphStyle: NSParagraphStyle = .default\n\n var boldFont: UIFont {...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Classes\MarkdownStylingOptions.swift
MarkdownStylingOptions.swift
Swift
491
0.95
0
0.4375
python-kit
642
2025-03-23T07:48:30.205082
BSD-3-Clause
false
a964ff118cfb75131a467f5ffa0e6c2d
//\n// CustomNavigationController.swift\n// MullvadVPN\n//\n// Created by pronebird on 23/02/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/// Custom navigation controller that applies the custom appearance to itself.\nclass CustomNavigationController: UINavigationController...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Containers\Navigation\CustomNavigationController.swift
CustomNavigationController.swift
Swift
879
0.95
0.030303
0.346154
node-utils
168
2024-06-01T04:26:36.677227
GPL-3.0
false
27f7cebdc059e0cfb7e186cb50e36576
//\n// CustomNavigationBar.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\nextension UINavigationBar {\n /// Locates the navigation bar prompt label within the view hirarchy and overrides the text color.\n /// - ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Containers\Navigation\UINavigationBar+Appearance.swift
UINavigationBar+Appearance.swift
Swift
3,426
0.95
0.024691
0.140625
react-lib
389
2024-09-14T17:21:55.987856
BSD-3-Clause
false
74ad85fd9b4838bf7aa6ec982178a93a
//\n// HeaderBarView.swift\n// MullvadVPN\n//\n// Created by pronebird on 19/06/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\nclass HeaderBarView: UIView {\n private let brandNameImage = UIImage(named: "LogoText")?\n .withTintColor(UIColor.HeaderBar.brandNameColor,...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Containers\Root\HeaderBarView.swift
HeaderBarView.swift
Swift
9,034
0.95
0.041667
0.038647
awesome-app
443
2024-02-05T11:32:50.039920
BSD-3-Clause
false
fdcd2cb1bfe74b1e0581462c99d54ca8
//\n// RootConfiguration.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-04-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nstruct RootDeviceInfoViewModel {\n let configuration: RootConfiguration\n init(isPresentingAccountExpiryBa...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Containers\Root\RootConfiguration.swift
RootConfiguration.swift
Swift
817
0.95
0
0.269231
python-kit
934
2024-03-04T19:16:24.561087
MIT
false
aa69c9cb3879cb6167053459c2f1f7e5
//\n// RootContainerViewController.swift\n// MullvadVPN\n//\n// Created by pronebird on 25/05/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\nimport UIKit\n\nenum HeaderBarStyle: Sendable {\n case transparent, `default`, unsecured, secured\n\n fileprivate func background...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Containers\Root\RootContainerViewController.swift
RootContainerViewController.swift
Swift
30,018
0.95
0.060364
0.079944
vue-tools
907
2023-12-24T14:13:07.712118
GPL-3.0
false
021811f409cc55626bc6270bf5a7d512
//\n// AccountCoordinator.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-04-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\nimport StoreKit\nimport UIKit\n\nenum AccountDismissReason: Equatable, Sendable {\n case none\n case userLoggedOut\n case accountDe...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\AccountCoordinator.swift
AccountCoordinator.swift
Swift
9,879
0.95
0.017483
0.031621
python-kit
471
2024-10-12T08:06:09.019094
BSD-3-Clause
false
eeee04c68d1473ea1b3938785df4dcdb
//\n// AccountDeletionCoordinator.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 Routing\nimport UIKit\n\nfinal class AccountDeletionCoordinator: Coordinator, Presentable {\n private let navigationController...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\AccountDeletionCoordinator.swift
AccountDeletionCoordinator.swift
Swift
1,439
0.95
0.020833
0.175
react-lib
402
2024-01-16T16:17:26.351468
BSD-3-Clause
false
ab0489e720d840ae9462df233b8824b3
//\n// AlertCoordinator.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 MullvadLogging\nimport Routing\nimport UIKit\n\nfinal class AlertCoordinator: Coordinator, Presentable {\n private var alertController: AlertViewCon...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\AlertCoordinator.swift
AlertCoordinator.swift
Swift
780
0.95
0.029412
0.259259
react-lib
741
2024-05-03T02:04:09.130757
MIT
false
2c45fa7d7a151b8bc7e8b00b35dc6e4d
//\n// ApplicationCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 13/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Routing\nimport UIKit\n\n/**\n Application coordinator managing spli...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\ApplicationCoordinator.swift
ApplicationCoordinator.swift
Swift
28,125
0.95
0.035629
0.062222
python-kit
225
2023-11-09T07:13:37.932681
BSD-3-Clause
false
7f57b09be5bf4dea4389c0df15019eae
//\n// ChangeLogCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 24/03/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadLogging\nimport Routing\nimport SwiftUI\nimport UIKit\n\nfinal class ChangeLogCoordinator: Coordinator, Presentable, SettingsChildCoordinator {\...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\ChangeLogCoordinator.swift
ChangeLogCoordinator.swift
Swift
2,251
0.95
0.028986
0.112903
react-lib
873
2024-12-23T02:54:25.483105
Apache-2.0
false
fa186b2ae3b497cfeeba63b88ba055d0
//\n// InAppPurchaseCoordinator.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-07-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\nimport StoreKit\nimport UIKit\n\nenum PaymentAction {\n case purchase\n case restorePurchase\n}\n\nfinal class InAppPurchaseCoordinator...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\InAppPurchaseCoordinator.swift
InAppPurchaseCoordinator.swift
Swift
1,329
0.95
0.020408
0.170732
awesome-app
785
2023-08-09T00:28:03.148092
Apache-2.0
false
23c8fd670e2bcc95da0f0824bd1698fb
//\n// LocationCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 29/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Routing\nimport UIKit\n\nclass LocationCoordinator: Coordinator, Presentable, Presentin...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\LocationCoordinator.swift
LocationCoordinator.swift
Swift
8,322
0.95
0.021739
0.057292
react-lib
248
2023-08-26T15:13:03.921512
MIT
false
61181a009f547dee29365921ab9e15c0
//\n// LoginCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 27/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadREST\nimport MullvadTypes\nimport Operations\nimport Routing\nimport UIKit\n\nfinal class LoginCoordinator: Coordinator, Presenting,...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\LoginCoordinator.swift
LoginCoordinator.swift
Swift
4,831
0.95
0.047945
0.076271
node-utils
618
2024-02-18T23:32:32.172608
BSD-3-Clause
false
b09042c44d599f6b43d4cf7a84e46332
//\n// OutOfTimeCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 10/03/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\nimport StoreKit\nimport UIKit\n\nclass OutOfTimeCoordinator: Coordinator, Presenting, @preconcurrency OutOfTimeViewControllerDelegate, Poppabl...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\OutOfTimeCoordinator.swift
OutOfTimeCoordinator.swift
Swift
2,658
0.95
0.010989
0.108108
node-utils
942
2025-03-27T19:51:26.699440
GPL-3.0
false
ea720426435fe016ab3ec6798edc5845
//\n// ProfileVoucherCoordinator.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-06-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport Routing\nimport UIKit\n\nfinal class ProfileVoucherCoordinator: Coordinator, Presentable {\n private let na...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\ProfileVoucherCoordinator.swift
ProfileVoucherCoordinator.swift
Swift
2,736
0.95
0.011905
0.09589
react-lib
135
2025-06-01T02:27:49.687661
BSD-3-Clause
false
20cf07b7edfafd947d445725e81b5bc4
//\n// RelayFilterCoordinator.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2023-06-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadTypes\nimport Routing\nimport UIKit\n\nclass RelayFilterCoordinator: Coordinator, Presentable {\n private let tunne...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\RelayFilterCoordinator.swift
RelayFilterCoordinator.swift
Swift
2,021
0.95
0.015152
0.132075
react-lib
997
2025-01-03T19:49:39.629077
BSD-3-Clause
false
8a675421bd0d23269fffc58ed00a042d
//\n// RevokedCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 07/03/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\nimport UIKit\n\nfinal class RevokedCoordinator: Coordinator {\n let navigationController: RootContainerViewController\n private let tunnel...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\RevokedCoordinator.swift
RevokedCoordinator.swift
Swift
993
0.95
0.028571
0.259259
python-kit
645
2024-08-11T06:26:52.234956
MIT
false
482e4ff53edcc2d623608cb2c04bc9ea
//\n// SafariCoordinator.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 Routing\nimport SafariServices\n\n@MainActor\nclass SafariCoordinator: Coordinator, Presentable, @preconcurrency SFSafariViewController...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\SafariCoordinator.swift
SafariCoordinator.swift
Swift
1,006
0.95
0.02439
0.212121
python-kit
397
2025-05-05T13:53:14.662430
GPL-3.0
false
aeca0fa16f3c2bf43a058250620d2e5b
//\n// SetupAccountCompletedCoordinator.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-07-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Routing\nimport UIKit\n\nclass SetupAccountCompletedCoordinator: Coordinator, Presenting {\n private let navigationContr...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\SetupAccountCompletedCoordinator.swift
SetupAccountCompletedCoordinator.swift
Swift
1,362
0.95
0.022222
0.2
react-lib
842
2024-03-07T19:19:06.075315
BSD-3-Clause
false
42c439dd7d91a9c1092c541b92b52a5c
//\n// TermsOfServiceCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 29/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Routing\nimport UIKit\n\nclass TermsOfServiceCoordinator: Coordinator, Presenting {\n private let navigationController: RootContainerViewContro...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\TermsOfServiceCoordinator.swift
TermsOfServiceCoordinator.swift
Swift
1,065
0.95
0.025641
0.233333
node-utils
854
2023-10-02T20:24:59.500741
GPL-3.0
false
ce69485a391152cc2dec18f8e5774e5b
//\n// TunnelCoordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 01/02/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport Routing\nimport UIKit\n\nclass TunnelCoordinator: Coordinator, Presenting {\n private let tunnelManager: TunnelManager\n pri...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\TunnelCoordinator.swift
TunnelCoordinator.swift
Swift
3,370
0.95
0.009009
0.076087
react-lib
239
2023-08-04T10:57:30.076955
BSD-3-Clause
false
62ea246222c1a061f5ad63da0fd3afb5
//\n// VPNSettingsCoordinator.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-03-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport MullvadTypes\nimport Routing\nimport UIKit\n\nclass VPNSettingsCoordinator: Coordinator, Presenting, SettingsChildCoordin...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\VPNSettingsCoordinator.swift
VPNSettingsCoordinator.swift
Swift
1,712
0.95
0.017857
0.148936
vue-tools
124
2024-02-12T12:02:07.296508
GPL-3.0
false
59eb1c80e5dc45fbbc0310ca74bc762a
//\n// WelcomeCoordinator.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2023-06-28.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport Routing\nimport StoreKit\nimport UIKit\n\nfinal class WelcomeCoordinator: Coordinator, Poppable, Presenting {\n private let navigatio...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\WelcomeCoordinator.swift
WelcomeCoordinator.swift
Swift
5,446
0.95
0.011976
0.047619
node-utils
711
2023-08-30T17:13:05.855097
GPL-3.0
false
f22d787b9a60f38b7d0f95e8c21e964f
//\n// AddCustomListCoordinator.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport Routing\nimport UIKit\n\nclass AddCustomListCoordinator: Coordinator, Presentable, Presenting {\n le...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\AddCustomListCoordinator.swift
AddCustomListCoordinator.swift
Swift
2,760
0.95
0.010204
0.097561
awesome-app
453
2023-11-01T18:05:33.450372
Apache-2.0
false
7e5a49e2ba3cfb3d1bbe536d6b218f64
//\n// AddLocationsCoordinator.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-03-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport MullvadTypes\nimport Routing\nimport UIKit\n\nclass AddLocationsCoordinator: Coordinator, Presentable, Presenti...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\AddLocationsCoordinator.swift
AddLocationsCoordinator.swift
Swift
1,549
0.95
0.017241
0.142857
python-kit
618
2024-08-07T12:26:42.342635
GPL-3.0
false
f5be67bbfeef7c5f90b724642492bc42
//\n// AddLocationsDataSource.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-02-29.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport MullvadTypes\nimport UIKit\n\nclass AddLocationsDataSource:\n UITableViewDiffableDataSource<LocationSection, ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\AddLocationsDataSource.swift
AddLocationsDataSource.swift
Swift
7,820
0.95
0.09375
0.078125
python-kit
669
2023-08-31T02:56:30.688991
GPL-3.0
false
a6782cf94cadf91e6d3e338afa062b71
//\n// AddLocationsViewController.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-02-29.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport MullvadTypes\nimport UIKit\n\nprotocol AddLocationsViewControllerDelegate: AnyObject, Sendable {\n func d...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\AddLocationsViewController.swift
AddLocationsViewController.swift
Swift
2,406
0.95
0.022727
0.092105
react-lib
211
2025-03-25T00:09:33.620759
BSD-3-Clause
false
90209d39a15f426d5f5527107b62fab7
//\n// CustomListCellConfiguration.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadTypes\nimport UIKit\n\n@MainActor\nstruct CustomListCellConfiguration {\n let tableView: UITableView\n let subj...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\CustomListCellConfiguration.swift
CustomListCellConfiguration.swift
Swift
4,077
0.95
0.045045
0.077778
vue-tools
442
2024-02-29T00:04:22.332347
MIT
false
632757db6eaacf7c06679437164ece26
//\n// CustomListDataSourceConfigurationv.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n@MainActor\nclass CustomListDataSourceConfiguration: NSObject {\n let dataSource: UITableViewDiffableDataSource<CustomLis...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\CustomListDataSourceConfiguration.swift
CustomListDataSourceConfiguration.swift
Swift
4,376
0.95
0.070866
0.066038
python-kit
946
2025-04-25T18:09:12.847234
GPL-3.0
false
24d7df020101adb6fc4fb42d9d470ec5
//\n// CustomListInteractor.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\n\nprotocol CustomListInteractorProtocol {\n func fetchAll() -> [CustomList]\n func save(viewModel: CustomListViewModel) thro...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\CustomListInteractor.swift
CustomListInteractor.swift
Swift
714
0.95
0.032258
0.28
vue-tools
276
2024-02-16T04:18:53.574200
MIT
false
3f95528ae45ba4aaf04e642c5e51a8e1
//\n// CustomListItemIdentifier.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum CustomListItemIdentifier: Hashable, CaseIterable {\n case name\n case addLocations\n case editLocations\n case d...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\CustomListItemIdentifier.swift
CustomListItemIdentifier.swift
Swift
1,607
0.95
0.04918
0.12963
node-utils
546
2024-01-12T07:21:39.152737
GPL-3.0
false
3c670bb55b80a78373d6d43df08c0027
//\n// CustomListSectionIdentifier.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum CustomListSectionIdentifier: Hashable, CaseIterable {\n case name\n case addLocations\n case editLocations\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\CustomListSectionIdentifier.swift
CustomListSectionIdentifier.swift
Swift
325
0.95
0
0.5
python-kit
988
2025-05-31T01:02:18.832693
Apache-2.0
false
d59feb2639f615e33bb6a6f5713fc4ef
//\n// CustomListValidationError.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\nenum CustomListFieldValidationError: LocalizedError, Hashable {\n case name(CustomRelayListError)\n\n...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\CustomListValidationError.swift
CustomListValidationError.swift
Swift
669
0.95
0.037037
0.304348
python-kit
815
2024-05-02T13:06:17.434678
Apache-2.0
false
d41a838742a739d61b18d8d8a41591d7
//\n// CustomListViewController.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport UIKit\n\nprotocol CustomListViewControllerDelegate: AnyObject {\n func customListDidSave(_ list: Cus...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\CustomListViewController.swift
CustomListViewController.swift
Swift
7,074
0.95
0.028708
0.038889
react-lib
961
2024-02-02T12:21:12.658561
GPL-3.0
false
5a0d8d8af5625dff459eb65f57fb2ffe
//\n// CustomListViewModel.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-14.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadSettings\nimport MullvadTypes\n\nstruct CustomListViewModel {\n var id: UUID\n var name: String\n var locations: [RelayLocation]\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\CustomListViewModel.swift
CustomListViewModel.swift
Swift
577
0.95
0
0.318182
python-kit
720
2023-09-15T01:31:43.229610
MIT
false
c58fad006c331459174bf56f49578277
//\n// EditCustomListCoordinator.swift\n// MullvadVPN\n//\n// Created by Jon Petersson on 2024-02-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport Routing\nimport UIKit\n\nclass EditCustomListCoordinator: Coordinator, Presentable, Presenting {\n ...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\EditCustomListCoordinator.swift
EditCustomListCoordinator.swift
Swift
6,318
0.95
0.005435
0.08125
node-utils
126
2023-12-20T15:21:54.414821
Apache-2.0
false
0637feb78d5ba302a8105a603341228c
//\n// EditLocationsCoordinator.swift\n// MullvadVPN\n//\n// Created by Mojgan on 2024-03-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadSettings\nimport MullvadTypes\nimport Routing\nimport UIKit\n\n@MainActor\nclass EditLocationsCoordinator: Coordinator, Present...
dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPN\Coordinators\CustomLists\EditLocationsCoordinator.swift
EditLocationsCoordinator.swift
Swift
1,602
0.95
0.017241
0.14
node-utils
869
2024-10-30T02:32:16.474476
BSD-3-Clause
false
3100d0b2cec42d4c7f09f9600c37493d